Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|coil.Phi",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor") translateModel(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|coil.Phi",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002052/0.002056, allocations: 186 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.914/1.914, allocations: 205.4 MB / 222.5 MB, free: 9.145 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001107/0.001107, allocations: 88.42 kB / 270.9 MB, free: 8.398 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003644/0.000365, allocations: 11.98 kB / 327 MB, free: 240 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3303/0.3307, allocations: 47.56 MB / 374.5 MB, free: 45.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1264/0.4571, allocations: 79.26 MB / 453.8 MB, free: 1.531 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003007/0.4575, allocations: 71.97 kB / 453.9 MB, free: 1.461 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03133/0.4888, allocations: 6.941 MB / 460.8 MB, free: 10.48 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4889, allocations: 0 / 460.8 MB, free: 10.48 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.012e-05/0.4889, allocations: 12 kB / 460.8 MB, free: 10.47 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.001248/0.4902, allocations: 0.5462 MB / 461.4 MB, free: 9.879 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.4902, allocations: 15.97 kB / 461.4 MB, free: 9.863 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.601e-05/0.4904, allocations: 31.62 kB / 461.4 MB, free: 9.832 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004554/0.4908, allocations: 271.4 kB / 461.7 MB, free: 9.527 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.842e-05/0.4909, allocations: 24.52 kB / 461.7 MB, free: 9.504 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.102e-05/0.491, allocations: 27.98 kB / 461.7 MB, free: 9.477 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007271/0.4917, allocations: 244.8 kB / 462 MB, free: 9.23 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.4917, allocations: 0 / 462 MB, free: 9.23 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.525e-05/0.4918, allocations: 19.98 kB / 462 MB, free: 9.211 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.152e-05/0.4918, allocations: 4 kB / 462 MB, free: 9.207 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007594/0.4926, allocations: 218.1 kB / 462.2 MB, free: 8.992 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00238/0.495, allocations: 1.024 MB / 463.2 MB, free: 7.883 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006818/0.4957, allocations: 213.2 kB / 463.4 MB, free: 7.668 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.318e-05/0.4957, allocations: 4 kB / 463.4 MB, free: 7.664 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.03e-05/0.4958, allocations: 30.56 kB / 463.5 MB, free: 7.625 MB / 346.7 MB Notification: Performance of pre-optimization done (n=23): time 1.984e-06/0.4958, allocations: 0 / 463.5 MB, free: 7.625 MB / 346.7 MB Notification: Performance of matching and sorting (n=34): time 0.008201/0.504, allocations: 1.499 MB / 465 MB, free: 6.051 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.703e-05/0.5041, allocations: 59.34 kB / 465 MB, free: 5.98 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002973/0.5044, allocations: 196.1 kB / 465.2 MB, free: 5.781 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.171e-05/0.5045, allocations: 41.7 kB / 465.3 MB, free: 5.734 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001454/0.5046, allocations: 234.6 kB / 465.5 MB, free: 5.504 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001257/0.5047, allocations: 118.3 kB / 465.6 MB, free: 5.387 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.211e-05/0.5048, allocations: 4 kB / 465.6 MB, free: 5.383 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.5049, allocations: 330.8 kB / 465.9 MB, free: 5.051 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004085/0.5053, allocations: 115.9 kB / 466 MB, free: 4.938 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000473/0.5058, allocations: 156.5 kB / 466.2 MB, free: 4.766 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004468/0.5063, allocations: 125.6 kB / 466.3 MB, free: 4.645 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.5063, allocations: 0 / 466.3 MB, free: 4.645 MB / 346.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.002731/0.5091, allocations: 0.5319 MB / 466.8 MB, free: 4.102 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.63e-05/0.5091, allocations: 11.95 kB / 466.9 MB, free: 4.09 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.5091, allocations: 0 / 466.9 MB, free: 4.09 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002456/0.5116, allocations: 249.4 kB / 467.1 MB, free: 3.84 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004963/0.5121, allocations: 55.97 kB / 467.2 MB, free: 3.785 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007427/0.5195, allocations: 3.795 MB / 470.9 MB, free: 15.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004343/0.52, allocations: 16.02 kB / 471 MB, free: 15.71 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.619e-05/0.5201, allocations: 16.47 kB / 471 MB, free: 15.7 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 1 {1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0002553/0.5203, allocations: 145.9 kB / 471.1 MB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.243e-05/0.5204, allocations: 35.56 kB / 471.2 MB, free: 15.51 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001332/0.5206, allocations: 38.95 kB / 471.2 MB, free: 15.46 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/0.5206, allocations: 4 kB / 471.2 MB, free: 15.46 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/0.5206, allocations: 0 / 471.2 MB, free: 15.46 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/0.5206, allocations: 3.953 kB / 471.2 MB, free: 15.46 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006642/0.5213, allocations: 381.4 kB / 471.6 MB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.5213, allocations: 0 / 471.6 MB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004362/0.5218, allocations: 39.98 kB / 471.6 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002418/0.5242, allocations: 246 kB / 471.9 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.861e-05/0.5243, allocations: 15.92 kB / 471.9 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006877/0.5312, allocations: 3.69 MB / 475.6 MB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.5312, allocations: 0 / 475.6 MB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003162/0.5344, allocations: 0.7232 MB / 476.3 MB, free: 10.03 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001033/0.5345, allocations: 96.77 kB / 476.4 MB, free: 9.918 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.817e-05/0.5346, allocations: 8 kB / 476.4 MB, free: 9.91 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003818/0.535, allocations: 15.98 kB / 476.4 MB, free: 9.895 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001383/0.5351, allocations: 31.95 kB / 476.4 MB, free: 9.863 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.284e-05/0.5352, allocations: 16.02 kB / 476.4 MB, free: 9.848 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002353/0.5354, allocations: 168.4 kB / 476.6 MB, free: 9.684 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.5354, allocations: 0 / 476.6 MB, free: 9.684 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007809/0.5362, allocations: 108 kB / 476.7 MB, free: 9.578 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (coil.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 1 {1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002174/0.5364, allocations: 115.2 kB / 476.8 MB, free: 9.457 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001506/0.538, allocations: 0.5596 MB / 477.4 MB, free: 8.871 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.538, allocations: 7.938 kB / 477.4 MB, free: 8.863 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008751/0.5389, allocations: 434.4 kB / 477.8 MB, free: 8.414 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003044/0.5392, allocations: 12.69 kB / 477.8 MB, free: 8.402 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001858/0.5411, allocations: 0.8539 MB / 478.7 MB, free: 7.512 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004265/0.5415, allocations: 0.784 MB / 479.5 MB, free: 6.699 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001062/0.5416, allocations: 23.42 kB / 479.5 MB, free: 6.676 MB / 362.7 MB Notification: Performance of SimCode: time 1.001e-06/0.5417, allocations: 0 / 479.5 MB, free: 6.676 MB / 362.7 MB Notification: Performance of Templates: time 0.01234/0.554, allocations: 5.785 MB / 485.3 MB, free: 0.8828 MB / 362.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/SaturatedInductor/SaturatedInductor.csv","../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches