Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 83.58 kB / 21.19 MB, free: 3.383 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001265/0.001265, allocations: 161 kB / 24.55 MB, free: 20 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9909/0.9909, allocations: 177.1 MB / 205 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5545,variableFilter="time|advancedSolenoid.armature.stopper_xMax.v_rel|advancedSolenoid.c_par1.v|advancedSolenoid.c_par2.v|advancedSolenoid.coil1.Phi|advancedSolenoid.coil2.Phi|advancedSolenoid.x|simpleSolenoid.armature.stopper_xMax.v_rel|simpleSolenoid.coil.Phi|simpleSolenoid.x",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke") translateModel(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5545,variableFilter="time|advancedSolenoid.armature.stopper_xMax.v_rel|advancedSolenoid.c_par1.v|advancedSolenoid.c_par2.v|advancedSolenoid.coil1.Phi|advancedSolenoid.coil2.Phi|advancedSolenoid.x|simpleSolenoid.armature.stopper_xMax.v_rel|simpleSolenoid.coil.Phi|simpleSolenoid.x",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.324e-06/2.324e-06, allocations: 0 / 273 MB, free: 1.559 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.84e-05/4.073e-05, allocations: 2.312 kB / 273 MB, free: 1.555 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke): time 0.01374/0.01378, allocations: 11.17 MB / 284.1 MB, free: 6.332 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008905/0.02268, allocations: 3.854 MB / 288 MB, free: 2.469 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002785/0.02547, allocations: 47.75 kB / 288 MB, free: 2.422 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1593/0.1848, allocations: 8.167 MB / 296.2 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006688/0.1915, allocations: 4.769 MB / 301 MB, free: 12.59 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002464/0.194, allocations: 0.9282 MB / 301.9 MB, free: 12.34 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.007085/0.2011, allocations: 5.52 MB / 307.4 MB, free: 10.61 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001211/0.2023, allocations: 0.5451 MB / 308 MB, free: 10.46 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006146/0.2084, allocations: 3.601 MB / 311.6 MB, free: 8.008 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005216/0.2136, allocations: 5.515 MB / 317.1 MB, free: 2.656 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009023/0.2145, allocations: 356 kB / 317.4 MB, free: 2.309 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009674/0.2155, allocations: 400.9 kB / 317.8 MB, free: 1.922 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008535/0.2163, allocations: 1.937 MB / 319.8 MB, free: 20 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002193/0.2185, allocations: 1.443 MB / 321.2 MB, free: 14.62 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004724/0.2233, allocations: 4.46 MB / 325.7 MB, free: 10.45 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.2233, allocations: 0 / 325.7 MB, free: 10.45 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.2233, allocations: 0 / 325.7 MB, free: 10.45 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0002122/0.2235, allocations: 0.625 kB / 325.7 MB, free: 10.45 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 532 * Number of variables: 532 Notification: Performance of Generate backend data structure: time 0.009288/0.2328, allocations: 8.398 MB / 334.1 MB, free: 1.992 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.772e-05/0.2328, allocations: 8.031 kB / 334.1 MB, free: 1.984 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001407/0.2342, allocations: 1.114 MB / 335.2 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003281/0.2375, allocations: 3.226 MB / 338.4 MB, free: 13.83 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001327/0.2377, allocations: 156.2 kB / 338.6 MB, free: 13.68 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002253/0.2379, allocations: 211.9 kB / 338.8 MB, free: 13.47 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002317/0.2402, allocations: 1.649 MB / 340.4 MB, free: 11.72 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.329e-05/0.2402, allocations: 4 kB / 340.4 MB, free: 11.71 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001265/0.2404, allocations: 84 kB / 340.5 MB, free: 11.63 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.985e-05/0.2404, allocations: 48 kB / 340.5 MB, free: 11.59 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001701/0.2421, allocations: 0.9352 MB / 341.5 MB, free: 10.64 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01107/0.2532, allocations: 7.934 MB / 349.4 MB, free: 2.766 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002402/0.2556, allocations: 1.499 MB / 350.9 MB, free: 1.262 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001515/0.2571, allocations: 0.9339 MB / 351.8 MB, free: 328 kB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001329/0.2572, allocations: 54.23 kB / 351.9 MB, free: 276 kB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001264/0.2585, allocations: 0.9601 MB / 352.9 MB, free: 15.23 MB / 314.7 MB Notification: Performance of pre-optimization done (n=246): time 1.313e-05/0.2585, allocations: 0 / 352.9 MB, free: 15.23 MB / 314.7 MB Notification: Performance of matching and sorting (n=371): time 0.03296/0.2915, allocations: 18.37 MB / 371.2 MB, free: 12.86 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01641/0.3079, allocations: 11.03 MB / 382.3 MB, free: 1.59 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008977/0.3168, allocations: 9.801 MB / 392.1 MB, free: 7.859 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004924/0.3173, allocations: 84.89 kB / 392.1 MB, free: 7.773 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002698/0.32, allocations: 4.045 MB / 396.2 MB, free: 3.723 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001148/0.3212, allocations: 1.275 MB / 397.5 MB, free: 2.465 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007059/0.3219, allocations: 0.5271 MB / 398 MB, free: 1.926 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.322, allocations: 476.8 kB / 398.5 MB, free: 1.457 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001112/0.3231, allocations: 0.5805 MB / 399 MB, free: 0.875 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001394/0.3245, allocations: 1.152 MB / 400.2 MB, free: 15.59 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002512/0.327, allocations: 1.774 MB / 402 MB, free: 13.74 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.007e-05/0.327, allocations: 0 / 402 MB, free: 13.74 MB / 362.7 MB Notification: Performance of matching and sorting (n=435) (initialization): time 0.006461/0.3335, allocations: 3.94 MB / 405.9 MB, free: 9.84 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.072e-05/0.3335, allocations: 8 kB / 405.9 MB, free: 9.832 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.671e-05/0.3335, allocations: 8 kB / 405.9 MB, free: 9.824 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005294/0.3388, allocations: 1.905 MB / 407.8 MB, free: 7.891 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001429/0.3403, allocations: 0.5329 MB / 408.4 MB, free: 7.387 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1601/0.5004, allocations: 23.49 MB / 431.8 MB, free: 106.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00239/0.5028, allocations: 107.6 kB / 432 MB, free: 106.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002371/0.503, allocations: 110.5 kB / 432.1 MB, free: 106.7 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.comparisonWithFEA.nextTimeEvent,$whenCondition1,comparisonWithFEA.nextTimeEventScaled,$PRE.comparisonWithFEA.nextTimeEventScaled,comparisonWithFEA.nextTimeEvent,simpleSolenoid.armature.stopper_xMin.contact,simpleSolenoid.armature.stopper_xMax.contact,advancedSolenoid.armature.stopper_xMin.contact,advancedSolenoid.armature.stopper_xMax.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (313): * Single equations (assignments): 304 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,3,100.0%), (1,3,100.0%), (1,4,100.0%), (1,3,100.0%), (1,4,100.0%), (1,5,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,43), (3,50)} Notification: Performance of prepare postOptimizeDAE: time 0.001221/0.5042, allocations: 341.8 kB / 432.4 MB, free: 106.6 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009489/0.5052, allocations: 0.9801 MB / 433.4 MB, free: 106.6 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006581/0.5118, allocations: 3.74 MB / 437.1 MB, free: 106.2 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-05/0.5118, allocations: 36.81 kB / 437.2 MB, free: 106.2 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.156e-05/0.5118, allocations: 5.469 kB / 437.2 MB, free: 106.2 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.999e-05/0.5118, allocations: 21.17 kB / 437.2 MB, free: 106.2 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01299/0.5248, allocations: 9.116 MB / 446.3 MB, free: 105.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.058e-05/0.5248, allocations: 0 / 446.3 MB, free: 105.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001268/0.5261, allocations: 449.4 kB / 446.7 MB, free: 105.3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005019/0.5311, allocations: 1.874 MB / 448.6 MB, free: 105.1 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002046/0.5313, allocations: 77.16 kB / 448.7 MB, free: 105.1 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01252/0.5438, allocations: 21.8 MB / 470.5 MB, free: 88.71 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01231/0.5562, allocations: 9.77 MB / 480.3 MB, free: 81.72 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007163/0.5633, allocations: 4.841 MB / 485.1 MB, free: 77.04 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001098/0.5644, allocations: 0.7353 MB / 485.8 MB, free: 76.3 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003621/0.5648, allocations: 71.67 kB / 485.9 MB, free: 76.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000991/0.5658, allocations: 95.91 kB / 486 MB, free: 76.14 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005788/0.5664, allocations: 287.2 kB / 486.3 MB, free: 75.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001283/0.5665, allocations: 91.98 kB / 486.4 MB, free: 75.77 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.006741/0.5732, allocations: 6.082 MB / 492.4 MB, free: 69.75 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.5732, allocations: 0 / 492.4 MB, free: 69.75 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003535/0.5768, allocations: 1.094 MB / 493.5 MB, free: 68.65 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 9 (advancedSolenoid.x,advancedSolenoid.coil1.i,advancedSolenoid.armature.stopper_xMin.v_rel,advancedSolenoid.coil2.i,advancedSolenoid.c_par1.v,advancedSolenoid.c_par2.v,$STATESET1.x,simpleSolenoid.x,simpleSolenoid.armature.stopper_xMin.v_rel) * Number of discrete variables: 7 (advancedSolenoid.armature.stopper_xMax.contact,advancedSolenoid.armature.stopper_xMin.contact,simpleSolenoid.armature.stopper_xMax.contact,simpleSolenoid.armature.stopper_xMin.contact,$whenCondition1,comparisonWithFEA.nextTimeEvent,comparisonWithFEA.nextTimeEventScaled) * Number of discrete states: 2 (comparisonWithFEA.nextTimeEvent,comparisonWithFEA.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (260): * Single equations (assignments): 249 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,2,100.0%), (1,2,100.0%), (1,4,100.0%), (1,5,100.0%), (1,3,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,49), (4,42)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001238/0.578, allocations: 493.6 kB / 494 MB, free: 68.36 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005253/0.5832, allocations: 4.033 MB / 498.1 MB, free: 64.15 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.301e-06/0.5833, allocations: 0 / 498.1 MB, free: 64.15 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003247/0.5865, allocations: 3.178 MB / 0.4895 GB, free: 60.81 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002852/0.5894, allocations: 0.5825 MB / 0.4901 GB, free: 60.23 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01744/0.6068, allocations: 13.82 MB / 0.5035 GB, free: 46.31 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001698/0.6085, allocations: 1.574 MB / 0.5051 GB, free: 44.71 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001758/0.6102, allocations: 313.1 kB / 0.5054 GB, free: 44.39 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006034/0.6109, allocations: 172.5 kB / 0.5055 GB, free: 44.23 MB / 378.7 MB Notification: Performance of SimCode: time 2.475e-06/0.6109, allocations: 0 / 0.5055 GB, free: 44.23 MB / 378.7 MB Notification: Performance of Templates: time 0.2139/0.8247, allocations: 67.36 MB / 0.5713 GB, free: 119.6 MB / 394.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.sim & ./Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/SolenoidActuator/ComparisonPullInStroke/ComparisonPullInStroke.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.343479641247541]