Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|comparisonWithFEA.y.1.|comparisonWithFEA.y.2.|comparisonWithFEA.y.3.|advancedFeed_x.v|advancedSolenoid.g_mFeArm.Phi|advancedSolenoid.L_statTot|advancedSolenoid.c_par1.v|advancedSolenoid.c_par2.v|advancedSolenoid.x|advancedSolenoid.armature.flange_a.f|advancedSolenoid.coil1.i|advancedSolenoid.coil1.Phi|advancedSolenoid.coil2.i|advancedSolenoid.coil2.Phi|advancedSolenoid.g_mLeak1.port_p.Phi|advancedSolenoid.g_mLeak2.port_p.Phi|advancedSolenoid.g_mLeak3.port_p.Phi|advancedSolenoid.g_mLeakWork.port_p.Phi|simpleFeed_x.v|simpleSolenoid.armature.flange_a.f|simpleSolenoid.g_mFeArm.Phi|simpleSolenoid.x|simpleSolenoid.coil.i|simpleSolenoid.coil.Phi|simpleSolenoid.coil.L_stat|simpleSolenoid.g_mLeak1.port_p.Phi|simpleSolenoid.g_mLeak2.port_p.Phi|simpleSolenoid.g_mLeakWork.port_p.Phi",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic") translateModel(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|comparisonWithFEA.y.1.|comparisonWithFEA.y.2.|comparisonWithFEA.y.3.|advancedFeed_x.v|advancedSolenoid.g_mFeArm.Phi|advancedSolenoid.L_statTot|advancedSolenoid.c_par1.v|advancedSolenoid.c_par2.v|advancedSolenoid.x|advancedSolenoid.armature.flange_a.f|advancedSolenoid.coil1.i|advancedSolenoid.coil1.Phi|advancedSolenoid.coil2.i|advancedSolenoid.coil2.Phi|advancedSolenoid.g_mLeak1.port_p.Phi|advancedSolenoid.g_mLeak2.port_p.Phi|advancedSolenoid.g_mLeak3.port_p.Phi|advancedSolenoid.g_mLeakWork.port_p.Phi|simpleFeed_x.v|simpleSolenoid.armature.flange_a.f|simpleSolenoid.g_mFeArm.Phi|simpleSolenoid.x|simpleSolenoid.coil.i|simpleSolenoid.coil.Phi|simpleSolenoid.coil.L_stat|simpleSolenoid.g_mLeak1.port_p.Phi|simpleSolenoid.g_mLeak2.port_p.Phi|simpleSolenoid.g_mLeakWork.port_p.Phi",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009059/0.000906, allocations: 176.4 kB / 17.4 MB, free: 4.422 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.467/1.467, allocations: 223.3 MB / 241.4 MB, free: 9.992 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007271/0.0007271, allocations: 100.8 kB / 292.6 MB, free: 10.57 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003109/0.0003111, allocations: 11.94 kB / 352.3 MB, free: 14.82 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.205/0.2053, allocations: 50.41 MB / 402.8 MB, free: 32.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1033/0.3087, allocations: 95.36 MB / 498.1 MB, free: 0.9297 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000249/0.309, allocations: 95.95 kB / 498.2 MB, free: 0.8359 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2808/0.5898, allocations: 51.37 MB / 0.5367 GB, free: 78.19 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.5899, allocations: 0 / 0.5367 GB, free: 78.19 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001777/0.5901, allocations: 52 kB / 0.5367 GB, free: 78.14 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.007578/0.5977, allocations: 2.581 MB / 0.5393 GB, free: 75.49 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.5977, allocations: 12.03 kB / 0.5393 GB, free: 75.48 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009421/0.5987, allocations: 293.4 kB / 0.5396 GB, free: 75.19 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002956/0.6016, allocations: 1.407 MB / 0.5409 GB, free: 73.73 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001383/0.6018, allocations: 156.5 kB / 0.5411 GB, free: 73.57 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005606/0.6024, allocations: 204.4 kB / 0.5413 GB, free: 73.37 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004362/0.6067, allocations: 1.925 MB / 0.5431 GB, free: 71.39 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.725e-05/0.6068, allocations: 4.094 kB / 0.5432 GB, free: 71.39 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002552/0.6071, allocations: 87.94 kB / 0.5432 GB, free: 71.3 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.777e-05/0.6071, allocations: 56 kB / 0.5433 GB, free: 71.25 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004166/0.6113, allocations: 2.011 MB / 0.5453 GB, free: 69.22 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0152/0.6265, allocations: 7.606 MB / 0.5527 GB, free: 61.34 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003948/0.6305, allocations: 2.356 MB / 0.555 GB, free: 58.94 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002509/0.6331, allocations: 1.401 MB / 0.5564 GB, free: 57.54 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001596/0.6332, allocations: 33.97 kB / 0.5564 GB, free: 57.51 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.188e-05/0.6333, allocations: 64.56 kB / 0.5564 GB, free: 57.44 MB / 378.7 MB Notification: Performance of pre-optimization done (n=240): time 4.108e-06/0.6333, allocations: 0 / 0.5564 GB, free: 57.44 MB / 378.7 MB Notification: Performance of matching and sorting (n=366): time 0.05474/0.688, allocations: 17.69 MB / 0.5737 GB, free: 39.58 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.499e-05/0.6881, allocations: 90.28 kB / 0.5738 GB, free: 39.48 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002811/0.6909, allocations: 1.828 MB / 0.5756 GB, free: 37.65 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005038/0.6915, allocations: 85.7 kB / 0.5757 GB, free: 37.56 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005069/0.692, allocations: 0.962 MB / 0.5766 GB, free: 36.59 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001009/0.693, allocations: 1.213 MB / 0.5778 GB, free: 35.36 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003722/0.6934, allocations: 72 kB / 0.5779 GB, free: 35.29 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.6936, allocations: 428.9 kB / 0.5783 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003142/0.6967, allocations: 1.283 MB / 0.5795 GB, free: 33.57 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002869/0.6996, allocations: 1.585 MB / 0.5811 GB, free: 31.94 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005597/0.7052, allocations: 2.995 MB / 0.584 GB, free: 28.88 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.1e-05/0.7053, allocations: 0 / 0.584 GB, free: 28.88 MB / 378.7 MB Notification: Performance of matching and sorting (n=424) (initialization): time 0.01069/0.716, allocations: 4.602 MB / 0.5885 GB, free: 24.23 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.887e-05/0.716, allocations: 10.97 kB / 0.5885 GB, free: 24.22 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.745e-05/0.7161, allocations: 4 kB / 0.5885 GB, free: 24.22 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005166/0.7212, allocations: 1.369 MB / 0.5898 GB, free: 22.83 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002933/0.7242, allocations: 0.5578 MB / 0.5904 GB, free: 22.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02204/0.7462, allocations: 19.08 MB / 0.609 GB, free: 2.238 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002826/0.7491, allocations: 132 kB / 0.6091 GB, free: 2.109 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006088/0.7497, allocations: 112 kB / 0.6093 GB, free: 2 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.001904/0.7517, allocations: 0.5877 MB / 0.6098 GB, free: 1.402 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007717/0.7525, allocations: 260.8 kB / 0.6101 GB, free: 1.145 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01162/0.7641, allocations: 4.583 MB / 0.6146 GB, free: 12.5 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.353e-05/0.7642, allocations: 39.98 kB / 0.6146 GB, free: 12.46 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.177e-05/0.7642, allocations: 4 kB / 0.6146 GB, free: 12.45 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.94e-05/0.7643, allocations: 19.92 kB / 0.6146 GB, free: 12.43 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0202/0.7845, allocations: 9.008 MB / 0.6234 GB, free: 3.223 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.859e-05/0.7845, allocations: 4 kB / 0.6234 GB, free: 3.219 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002607/0.7871, allocations: 0.4958 MB / 0.6239 GB, free: 2.723 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005131/0.7923, allocations: 1.282 MB / 0.6252 GB, free: 1.414 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004795/0.7928, allocations: 71.98 kB / 0.6252 GB, free: 1.344 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0225/0.8153, allocations: 17.66 MB / 0.6425 GB, free: 14.74 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/0.8153, allocations: 7.938 kB / 0.6425 GB, free: 14.73 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01474/0.8301, allocations: 6.423 MB / 0.6487 GB, free: 8.168 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002412/0.8326, allocations: 0.6694 MB / 0.6494 GB, free: 7.477 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009649/0.8336, allocations: 71.98 kB / 0.6495 GB, free: 7.406 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002398/0.836, allocations: 139.9 kB / 0.6496 GB, free: 7.27 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007989/0.8368, allocations: 274.7 kB / 0.6499 GB, free: 6.996 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003263/0.8371, allocations: 91.98 kB / 0.65 GB, free: 6.906 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002427/0.8396, allocations: 1.282 MB / 0.6512 GB, free: 5.633 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.8396, allocations: 0 / 0.6512 GB, free: 5.633 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003755/0.8434, allocations: 0.9179 MB / 0.6521 GB, free: 4.715 MB / 426.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.001202/0.8446, allocations: 476.8 kB / 0.6526 GB, free: 4.375 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.008413/0.853, allocations: 4.6 MB / 0.657 GB, free: 15.66 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.093e-06/0.853, allocations: 4.312 kB / 0.6571 GB, free: 15.66 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005162/0.8582, allocations: 3.094 MB / 0.6601 GB, free: 12.46 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003422/0.8617, allocations: 373 kB / 0.6604 GB, free: 12.1 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01182/0.8735, allocations: 6.888 MB / 0.6672 GB, free: 5.129 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001836/0.8754, allocations: 1.723 MB / 0.6688 GB, free: 3.367 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002456/0.8778, allocations: 300.1 kB / 0.6691 GB, free: 3.07 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008844/0.8787, allocations: 163.3 kB / 0.6693 GB, free: 2.91 MB / 442.7 MB Notification: Performance of SimCode: time 6.22e-07/0.8788, allocations: 8 kB / 0.6693 GB, free: 2.902 MB / 442.7 MB Notification: Performance of Templates: time 0.2608/1.14, allocations: 50.08 MB / 0.7182 GB, free: 108.5 MB / 442.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/SolenoidActuator/ComparisonQuasiStatic/ComparisonQuasiStatic.csv","../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches