Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009169/0.0009169, allocations: 75.69 kB / 21.7 MB, free: 2.848 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009326/0.0009326, allocations: 160.6 kB / 24.99 MB, free: 9.328 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9574/0.9574, allocations: 177 MB / 205.2 MB, free: 5.199 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.183e-06/1.183e-06, allocations: 0 / 273 MB, free: 1.605 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.255e-05/1.374e-05, allocations: 5.266 kB / 273 MB, free: 1.602 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke): time 0.008476/0.00849, allocations: 11.13 MB / 284.1 MB, free: 6.414 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005264/0.01375, allocations: 3.841 MB / 288 MB, free: 2.562 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008236/0.01458, allocations: 47.75 kB / 288 MB, free: 2.516 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1142/0.1288, allocations: 8.16 MB / 296.2 MB, free: 14.28 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004912/0.1337, allocations: 4.778 MB / 300.9 MB, free: 13.02 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001354/0.1351, allocations: 0.9197 MB / 301.9 MB, free: 12.78 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003952/0.139, allocations: 5.512 MB / 307.4 MB, free: 11.04 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006665/0.1397, allocations: 0.5558 MB / 307.9 MB, free: 10.89 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00237/0.142, allocations: 3.607 MB / 311.5 MB, free: 8.18 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002512/0.1446, allocations: 5.509 MB / 317 MB, free: 2.836 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002976/0.1449, allocations: 360 kB / 317.4 MB, free: 2.484 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003484/0.1452, allocations: 400 kB / 317.8 MB, free: 2.094 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005723/0.1458, allocations: 1.932 MB / 319.7 MB, free: 200 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001136/0.1469, allocations: 1.447 MB / 321.2 MB, free: 14.79 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002809/0.1497, allocations: 4.452 MB / 325.6 MB, free: 10.62 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1497, allocations: 0.5 kB / 325.6 MB, free: 10.62 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.1497, allocations: 2.562 kB / 325.6 MB, free: 10.62 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.699e-05/0.1498, allocations: 0 / 325.6 MB, free: 10.62 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.006652/0.1565, allocations: 8.405 MB / 334 MB, free: 2.164 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.1565, allocations: 8.031 kB / 334 MB, free: 2.156 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001211/0.1577, allocations: 1.116 MB / 335.2 MB, free: 1.035 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002347/0.1601, allocations: 3.216 MB / 338.4 MB, free: 14.01 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.977e-05/0.1602, allocations: 157.5 kB / 338.5 MB, free: 13.86 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001918/0.1604, allocations: 212 kB / 338.7 MB, free: 13.65 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001945/0.1623, allocations: 1.645 MB / 340.4 MB, free: 11.9 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.022e-05/0.1623, allocations: 7.922 kB / 340.4 MB, free: 11.89 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001187/0.1625, allocations: 88 kB / 340.5 MB, free: 11.81 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.947e-05/0.1625, allocations: 48 kB / 340.5 MB, free: 11.76 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00153/0.164, allocations: 0.9306 MB / 341.4 MB, free: 10.83 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007933/0.1719, allocations: 7.927 MB / 349.4 MB, free: 2.957 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001932/0.1739, allocations: 1.513 MB / 350.9 MB, free: 1.441 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001247/0.1751, allocations: 0.9282 MB / 351.8 MB, free: 0.5039 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.614e-05/0.1752, allocations: 54.3 kB / 351.9 MB, free: 464 kB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001012/0.1762, allocations: 0.9565 MB / 352.8 MB, free: 15.42 MB / 314.7 MB Notification: Performance of pre-optimization done (n=246): time 3.396e-06/0.1762, allocations: 0 / 352.8 MB, free: 15.42 MB / 314.7 MB Notification: Performance of matching and sorting (n=371): time 0.02829/0.2045, allocations: 18.37 MB / 371.2 MB, free: 13.05 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01539/0.2199, allocations: 11.03 MB / 382.2 MB, free: 1.789 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007286/0.2272, allocations: 9.801 MB / 392 MB, free: 8.059 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003291/0.2275, allocations: 89.73 kB / 392.1 MB, free: 7.965 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002578/0.2301, allocations: 4.041 MB / 396.2 MB, free: 3.918 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007521/0.2309, allocations: 1.266 MB / 397.4 MB, free: 2.668 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006121/0.2315, allocations: 0.531 MB / 397.9 MB, free: 2.125 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.301e-05/0.2316, allocations: 476.8 kB / 398.4 MB, free: 1.656 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001034/0.2326, allocations: 0.5766 MB / 399 MB, free: 1.078 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001303/0.2339, allocations: 1.152 MB / 400.1 MB, free: 15.79 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002484/0.2364, allocations: 1.78 MB / 401.9 MB, free: 13.94 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.2364, allocations: 0 / 401.9 MB, free: 13.94 MB / 362.7 MB Notification: Performance of matching and sorting (n=435) (initialization): time 0.005721/0.2421, allocations: 3.939 MB / 405.9 MB, free: 10.04 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.2421, allocations: 15.94 kB / 405.9 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/0.2421, allocations: 4 kB / 405.9 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005024/0.2472, allocations: 1.907 MB / 407.8 MB, free: 8.082 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001583/0.2488, allocations: 0.5295 MB / 408.3 MB, free: 7.582 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.129/0.3778, allocations: 23.49 MB / 431.8 MB, free: 110.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002444/0.3802, allocations: 108.7 kB / 431.9 MB, free: 110.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002017/0.3804, allocations: 113.7 kB / 432 MB, free: 110.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.001239/0.3817, allocations: 331.5 kB / 432.3 MB, free: 110.6 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008393/0.3825, allocations: 0.9846 MB / 433.3 MB, free: 110.6 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006109/0.3886, allocations: 3.741 MB / 437.1 MB, free: 110.2 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.667e-05/0.3886, allocations: 37.06 kB / 437.1 MB, free: 110.2 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.814e-05/0.3886, allocations: 8.203 kB / 437.1 MB, free: 110.2 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.83e-05/0.3887, allocations: 18.7 kB / 437.1 MB, free: 110.2 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01059/0.3993, allocations: 9.122 MB / 446.3 MB, free: 109.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/0.3993, allocations: 0 / 446.3 MB, free: 109.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001128/0.4004, allocations: 463.7 kB / 446.7 MB, free: 109.3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004553/0.405, allocations: 1.856 MB / 448.6 MB, free: 109.1 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001413/0.4051, allocations: 76.75 kB / 448.6 MB, free: 109.1 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01137/0.4165, allocations: 21.81 MB / 470.5 MB, free: 92.04 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01188/0.4283, allocations: 9.766 MB / 480.2 MB, free: 83.82 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006296/0.4346, allocations: 4.84 MB / 485.1 MB, free: 79.12 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005431/0.4352, allocations: 0.7345 MB / 485.8 MB, free: 78.38 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003294/0.4355, allocations: 64 kB / 485.9 MB, free: 78.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009399/0.4365, allocations: 95.95 kB / 485.9 MB, free: 78.22 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004643/0.4369, allocations: 291.1 kB / 486.2 MB, free: 77.94 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001142/0.437, allocations: 99.97 kB / 486.3 MB, free: 77.84 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.004348/0.4414, allocations: 6.07 MB / 492.4 MB, free: 71.83 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4414, allocations: 0 / 492.4 MB, free: 71.83 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002045/0.4434, allocations: 1.098 MB / 493.5 MB, free: 70.73 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.0009373/0.4444, allocations: 482.6 kB / 494 MB, free: 70.45 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003369/0.4477, allocations: 4.041 MB / 498 MB, free: 66.24 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.4477, allocations: 0 / 498 MB, free: 66.24 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002002/0.4497, allocations: 3.188 MB / 0.4895 GB, free: 62.89 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001555/0.4513, allocations: 0.5713 MB / 0.49 GB, free: 62.32 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009847/0.4611, allocations: 13.82 MB / 0.5035 GB, free: 48.39 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009989/0.4621, allocations: 1.578 MB / 0.505 GB, free: 46.78 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0008629/0.463, allocations: 305.2 kB / 0.5053 GB, free: 46.47 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004282/0.4634, allocations: 172.5 kB / 0.5055 GB, free: 46.3 MB / 378.7 MB Notification: Performance of SimCode: time 9.02e-07/0.4634, allocations: 0 / 0.5055 GB, free: 46.3 MB / 378.7 MB Notification: Performance of Templates: time 0.1793/0.6427, allocations: 67.35 MB / 0.5713 GB, free: 123.5 MB / 394.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.01394089194946]