Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.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.SolenoidActuator.ComparisonQuasiStationary,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|advancedFeed_x.v|advancedSolenoid.c_par1.v|advancedSolenoid.c_par2.v|advancedSolenoid.coil1.Phi|advancedSolenoid.coil2.Phi|advancedSolenoid.x|simpleFeed_x.v|simpleSolenoid.coil.Phi|simpleSolenoid.x",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary") translateModel(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|advancedFeed_x.v|advancedSolenoid.c_par1.v|advancedSolenoid.c_par2.v|advancedSolenoid.coil1.Phi|advancedSolenoid.coil2.Phi|advancedSolenoid.x|simpleFeed_x.v|simpleSolenoid.coil.Phi|simpleSolenoid.x",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009396/0.0009397, allocations: 183.8 kB / 18.04 MB, free: 3.781 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.336/1.336, allocations: 205.4 MB / 224.2 MB, free: 9.023 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.0006853/0.0006854, allocations: 86.36 kB / 272.5 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002806/0.0002806, allocations: 8 kB / 329.5 MB, free: 15.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.209/0.2093, allocations: 47.58 MB / 377 MB, free: 45.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09677/0.3061, allocations: 92.19 MB / 469.2 MB, free: 4.336 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000249/0.3064, allocations: 87.95 kB / 469.3 MB, free: 4.25 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2722/0.5786, allocations: 50.06 MB / 0.5072 GB, free: 95.63 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.686e-06/0.5786, allocations: 0 / 0.5072 GB, free: 95.63 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002082/0.5789, allocations: 52.25 kB / 0.5072 GB, free: 95.63 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 527 * Number of variables: 527 Notification: Performance of Generate backend data structure: time 0.006742/0.5856, allocations: 2.582 MB / 0.5098 GB, free: 94.36 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.5857, allocations: 7.938 kB / 0.5098 GB, free: 94.36 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008227/0.5865, allocations: 292.2 kB / 0.51 GB, free: 94.21 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002769/0.5893, allocations: 1.412 MB / 0.5114 GB, free: 93.71 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001206/0.5894, allocations: 159.8 kB / 0.5116 GB, free: 93.7 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004448/0.5899, allocations: 203.3 kB / 0.5118 GB, free: 93.7 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003982/0.5939, allocations: 1.932 MB / 0.5137 GB, free: 93.56 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.118e-05/0.5939, allocations: 4.094 kB / 0.5137 GB, free: 93.55 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001921/0.5941, allocations: 87.75 kB / 0.5137 GB, free: 93.55 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.967e-05/0.5942, allocations: 52.47 kB / 0.5138 GB, free: 93.55 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00392/0.5981, allocations: 2.008 MB / 0.5158 GB, free: 92.94 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01175/0.6099, allocations: 7.611 MB / 0.5232 GB, free: 88.7 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003176/0.6131, allocations: 2.363 MB / 0.5255 GB, free: 87.55 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00219/0.6153, allocations: 1.396 MB / 0.5269 GB, free: 87.06 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001176/0.6154, allocations: 36.8 kB / 0.5269 GB, free: 87.05 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.996e-05/0.6155, allocations: 60.16 kB / 0.527 GB, free: 87 MB / 378.7 MB Notification: Performance of pre-optimization done (n=240): time 4.819e-06/0.6155, allocations: 0 / 0.527 GB, free: 87 MB / 378.7 MB Notification: Performance of matching and sorting (n=366): time 0.05156/0.667, allocations: 17.69 MB / 0.5442 GB, free: 71.21 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.162e-05/0.6671, allocations: 90.28 kB / 0.5443 GB, free: 71.11 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002408/0.6695, allocations: 1.832 MB / 0.5461 GB, free: 69.27 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002578/0.6698, allocations: 93.64 kB / 0.5462 GB, free: 69.17 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004747/0.6703, allocations: 0.9657 MB / 0.5471 GB, free: 68.2 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006256/0.6709, allocations: 1.197 MB / 0.5483 GB, free: 67.01 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001692/0.6711, allocations: 72 kB / 0.5484 GB, free: 66.94 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.6712, allocations: 436.9 kB / 0.5488 GB, free: 66.51 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002318/0.6736, allocations: 1.276 MB / 0.55 GB, free: 65.23 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002422/0.676, allocations: 1.58 MB / 0.5516 GB, free: 63.61 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00487/0.6809, allocations: 2.994 MB / 0.5545 GB, free: 60.55 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.987e-06/0.6809, allocations: 4 kB / 0.5545 GB, free: 60.54 MB / 378.7 MB Notification: Performance of matching and sorting (n=424) (initialization): time 0.009603/0.6905, allocations: 4.61 MB / 0.559 GB, free: 55.89 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.773e-05/0.6906, allocations: 7.438 kB / 0.559 GB, free: 55.89 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.681e-05/0.6906, allocations: 7.984 kB / 0.559 GB, free: 55.88 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005007/0.6956, allocations: 1.372 MB / 0.5604 GB, free: 54.49 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002772/0.6984, allocations: 0.5578 MB / 0.5609 GB, free: 53.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02109/0.7195, allocations: 19.08 MB / 0.5795 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002568/0.7221, allocations: 136 kB / 0.5797 GB, free: 33.83 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002348/0.7224, allocations: 112 kB / 0.5798 GB, free: 33.72 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 4 (advancedSolenoid.armature.stopper_xMax.contact,advancedSolenoid.armature.stopper_xMin.contact,simpleSolenoid.armature.stopper_xMax.contact,simpleSolenoid.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (307): * Single equations (assignments): 300 * 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: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 4,(1,100.0%) 7} * Non-linear torn systems: 2 {3 51,2 43} Notification: Performance of prepare postOptimizeDAE: time 0.001191/0.7236, allocations: 0.5831 MB / 0.5804 GB, free: 33.13 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000402/0.724, allocations: 260.8 kB / 0.5806 GB, free: 32.87 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009284/0.7333, allocations: 4.59 MB / 0.5851 GB, free: 28.21 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.432e-05/0.7333, allocations: 36 kB / 0.5851 GB, free: 28.18 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.488e-06/0.7334, allocations: 4 kB / 0.5851 GB, free: 28.18 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.248e-05/0.7334, allocations: 19.92 kB / 0.5851 GB, free: 28.16 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01514/0.7485, allocations: 9.004 MB / 0.5939 GB, free: 19.04 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.802e-05/0.7486, allocations: 4 kB / 0.5939 GB, free: 19.03 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002521/0.7511, allocations: 0.492 MB / 0.5944 GB, free: 18.54 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00482/0.756, allocations: 1.278 MB / 0.5957 GB, free: 17.24 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003903/0.7564, allocations: 75.97 kB / 0.5957 GB, free: 17.17 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01855/0.7749, allocations: 17.66 MB / 0.613 GB, free: 14.61 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.775, allocations: 8.156 kB / 0.613 GB, free: 14.6 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01368/0.7887, allocations: 6.423 MB / 0.6193 GB, free: 8.035 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001555/0.7903, allocations: 0.6733 MB / 0.6199 GB, free: 7.34 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005831/0.7909, allocations: 64 kB / 0.62 GB, free: 7.277 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002104/0.793, allocations: 147.9 kB / 0.6201 GB, free: 7.133 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006711/0.7937, allocations: 270.8 kB / 0.6204 GB, free: 6.867 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002121/0.7939, allocations: 99.97 kB / 0.6205 GB, free: 6.77 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001949/0.7959, allocations: 1.278 MB / 0.6217 GB, free: 5.5 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7959, allocations: 0 / 0.6217 GB, free: 5.5 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003038/0.7989, allocations: 0.9141 MB / 0.6226 GB, free: 4.586 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 9 (advancedSolenoid.coil1.i,advancedSolenoid.coil2.i,advancedSolenoid.c_par1.v,advancedSolenoid.c_par2.v,advancedFeed_x.s,advancedFeed_x.v,simpleSolenoid.coil.i,simpleFeed_x.s,simpleFeed_x.v) * Number of discrete variables: 4 (advancedSolenoid.armature.stopper_xMax.contact,advancedSolenoid.armature.stopper_xMin.contact,simpleSolenoid.armature.stopper_xMax.contact,simpleSolenoid.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (256): * Single equations (assignments): 249 * 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: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 3,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 4,(1,100.0%) 6} * Non-linear torn systems: 2 {3 41,3 50} Notification: Performance of Backend phase and start with SimCode phase: time 0.001073/0.8, allocations: 471.5 kB / 0.6231 GB, free: 4.172 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.008001/0.808, allocations: 4.599 MB / 0.6276 GB, free: 15.47 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.096e-06/0.8081, allocations: 8 kB / 0.6276 GB, free: 15.46 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004851/0.8129, allocations: 3.099 MB / 0.6306 GB, free: 12.26 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00334/0.8163, allocations: 359.4 kB / 0.6309 GB, free: 11.91 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01206/0.8283, allocations: 6.882 MB / 0.6377 GB, free: 4.988 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001734/0.8301, allocations: 1.715 MB / 0.6393 GB, free: 3.234 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002274/0.8324, allocations: 317 kB / 0.6396 GB, free: 2.926 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007424/0.8332, allocations: 159.4 kB / 0.6398 GB, free: 2.77 MB / 410.7 MB Notification: Performance of SimCode: time 6.61e-07/0.8332, allocations: 0 / 0.6398 GB, free: 2.77 MB / 410.7 MB Notification: Performance of Templates: time 0.2224/1.056, allocations: 50.14 MB / 0.6888 GB, free: 120.8 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/SolenoidActuator/ComparisonQuasiStationary/ComparisonQuasiStationary.csv","../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches