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.001367/0.001367, allocations: 174.9 kB / 8.348 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.49/1.49, allocations: 221.5 MB / 230.3 MB, free: 7.574 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008728/0.0008728, allocations: 97.86 kB / 281.2 MB, free: 5.328 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.735e-05/2.739e-05, allocations: 0 / 337.1 MB, free: 10.02 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.1167, allocations: 50.42 MB / 387.5 MB, free: 7.562 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3838/0.5005, allocations: 94.53 MB / 482 MB, free: 276 kB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002832/0.5009, allocations: 91.94 kB / 482.1 MB, free: 184 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1929/0.6939, allocations: 50.89 MB / 0.5205 GB, free: 13.12 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.6939, allocations: 0 / 0.5205 GB, free: 13.12 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001861/0.6941, allocations: 51.98 kB / 0.5205 GB, free: 13.07 MB / 410.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.008619/0.7027, allocations: 2.307 MB / 0.5228 GB, free: 10.7 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/0.7028, allocations: 8.031 kB / 0.5228 GB, free: 10.7 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001072/0.7039, allocations: 296.4 kB / 0.5231 GB, free: 10.4 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004095/0.708, allocations: 1.33 MB / 0.5244 GB, free: 9.02 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001242/0.7081, allocations: 72 kB / 0.5244 GB, free: 8.949 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004366/0.7086, allocations: 119.9 kB / 0.5246 GB, free: 8.832 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005345/0.714, allocations: 1.664 MB / 0.5262 GB, free: 7.16 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004984/0.719, allocations: 1.491 MB / 0.5276 GB, free: 5.621 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-05/0.7191, allocations: 0 / 0.5276 GB, free: 5.621 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002233/0.7193, allocations: 3.938 kB / 0.5276 GB, free: 5.617 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.198e-05/0.7194, allocations: 52 kB / 0.5277 GB, free: 5.566 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02011/0.7395, allocations: 7.261 MB / 0.5348 GB, free: 14.05 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004791/0.7444, allocations: 2.125 MB / 0.5369 GB, free: 11.89 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003161/0.7476, allocations: 1.219 MB / 0.5381 GB, free: 10.68 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002048/0.7478, allocations: 45.89 kB / 0.5381 GB, free: 10.63 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.813e-05/0.7479, allocations: 56.56 kB / 0.5382 GB, free: 10.57 MB / 426.7 MB Notification: Performance of pre-optimization done (n=240): time 6.683e-06/0.7479, allocations: 0 / 0.5382 GB, free: 10.57 MB / 426.7 MB Notification: Performance of matching and sorting (n=372): time 0.2818/1.03, allocations: 12.49 MB / 0.5503 GB, free: 110.9 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.247e-05/1.03, allocations: 88.75 kB / 0.5504 GB, free: 110.8 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002793/1.033, allocations: 1.496 MB / 0.5519 GB, free: 110.7 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004831/1.033, allocations: 26.92 kB / 0.5519 GB, free: 110.6 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007365/1.034, allocations: 0.9558 MB / 0.5529 GB, free: 110.6 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001164/1.035, allocations: 1.181 MB / 0.554 GB, free: 110 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001756/1.035, allocations: 1.156 kB / 0.554 GB, free: 110 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002093/1.035, allocations: 433.8 kB / 0.5544 GB, free: 109.6 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002165/1.038, allocations: 1.183 MB / 0.5556 GB, free: 109.6 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002245/1.04, allocations: 1.452 MB / 0.557 GB, free: 109.5 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002381/1.042, allocations: 1.36 MB / 0.5583 GB, free: 109.4 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.526e-06/1.042, allocations: 3.969 kB / 0.5583 GB, free: 109.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=433) (initialization): time 0.01009/1.052, allocations: 4.264 MB / 0.5625 GB, free: 109.1 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.776e-05/1.052, allocations: 8 kB / 0.5625 GB, free: 109.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.415e-05/1.052, allocations: 4.625 kB / 0.5625 GB, free: 109.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006646/1.059, allocations: 1.298 MB / 0.5638 GB, free: 109 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003997/1.063, allocations: 0.5771 MB / 0.5643 GB, free: 109 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02297/1.086, allocations: 18.52 MB / 0.5824 GB, free: 96.17 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003162/1.089, allocations: 97.38 kB / 0.5825 GB, free: 96.17 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000433/1.09, allocations: 120.5 kB / 0.5826 GB, free: 96.14 MB / 426.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: simpleSolenoid.g_mAirPar.V_m:DUMMY_STATE(unit = "A" ) "Magnetic potential difference of ports" type: Real 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (314): * Single equations (assignments): 305 * Array equations: 2 * 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,3 42} Notification: Performance of prepare postOptimizeDAE: time 0.0006487/1.091, allocations: 150.8 kB / 0.5828 GB, free: 96.03 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004807/1.091, allocations: 257.1 kB / 0.583 GB, free: 95.9 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008809/1.1, allocations: 4.255 MB / 0.5872 GB, free: 94.23 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007389/1.107, allocations: 3.766 MB / 0.5909 GB, free: 92.82 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.22e-05/1.107, allocations: 3.219 kB / 0.5909 GB, free: 92.82 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.612e-05/1.107, allocations: 21.48 kB / 0.5909 GB, free: 92.82 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01608/1.123, allocations: 9.162 MB / 0.5998 GB, free: 88.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.597e-05/1.124, allocations: 7.172 kB / 0.5998 GB, free: 88.59 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002514/1.126, allocations: 0.4896 MB / 0.6003 GB, free: 88.55 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005075/1.131, allocations: 1.37 MB / 0.6016 GB, free: 88.21 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005032/1.132, allocations: 29.27 kB / 0.6017 GB, free: 88.21 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01833/1.15, allocations: 17.1 MB / 0.6184 GB, free: 75.38 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.05088/1.201, allocations: 26.49 MB / 0.6442 GB, free: 53.58 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01131/1.212, allocations: 6.352 MB / 0.6504 GB, free: 47.48 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001449/1.214, allocations: 0.692 MB / 0.6511 GB, free: 46.87 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003721/1.214, allocations: 8 kB / 0.6511 GB, free: 46.86 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001893/1.216, allocations: 100.2 kB / 0.6512 GB, free: 46.79 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005705/1.217, allocations: 282.2 kB / 0.6515 GB, free: 46.62 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000184/1.217, allocations: 107.1 kB / 0.6516 GB, free: 46.53 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001356/1.218, allocations: 1.136 MB / 0.6527 GB, free: 45.49 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.81e-07/1.218, allocations: 0 / 0.6527 GB, free: 45.49 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003499/1.222, allocations: 0.9095 MB / 0.6536 GB, free: 44.58 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 9 ($STATESET2.x[2],$STATESET2.x[1],$STATESET1.x,advancedSolenoid.c_par1.v,advancedSolenoid.c_par2.v,advancedFeed_x.s,advancedFeed_x.v,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 () * 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 43,4 53} Notification: Performance of Backend phase and start with SimCode phase: time 0.001003/1.223, allocations: 356.3 kB / 0.6539 GB, free: 44.37 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006118/1.229, allocations: 4.291 MB / 0.6581 GB, free: 40.18 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.424e-06/1.229, allocations: 0 / 0.6581 GB, free: 40.18 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00384/1.233, allocations: 2.951 MB / 0.661 GB, free: 37.33 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001891/1.235, allocations: 240.7 kB / 0.6612 GB, free: 37.14 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009213/1.244, allocations: 5.767 MB / 0.6669 GB, free: 31.79 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001221/1.245, allocations: 1.832 MB / 0.6687 GB, free: 30.33 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001964/1.247, allocations: 324.3 kB / 0.669 GB, free: 30.11 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006889/1.248, allocations: 183.7 kB / 0.6691 GB, free: 29.96 MB / 426.7 MB Notification: Performance of SimCode: time 1.172e-06/1.248, allocations: 0 / 0.6691 GB, free: 29.96 MB / 426.7 MB Notification: Performance of Templates: time 0.3192/1.567, allocations: 61.24 MB / 0.7289 GB, free: 114.6 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/jenkins/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