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.0009292/0.0009292, allocations: 81.91 kB / 21.42 MB, free: 3.07 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.001059/0.001059, allocations: 169.3 kB / 24.82 MB, free: 9.273 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.9953/0.9953, allocations: 177 MB / 205.1 MB, free: 5.48 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.273e-06/1.273e-06, allocations: 0 / 273.3 MB, free: 1.242 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.166e-05/1.293e-05, allocations: 5.266 kB / 273.3 MB, free: 1.238 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke): time 0.007994/0.008007, allocations: 10.84 MB / 284.2 MB, free: 6.34 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005988/0.014, allocations: 3.841 MB / 288 MB, free: 2.488 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001103/0.0151, allocations: 39.81 kB / 288 MB, free: 2.449 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1345/0.1496, allocations: 8.162 MB / 296.2 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005681/0.1553, allocations: 4.779 MB / 301 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001407/0.1567, allocations: 0.9227 MB / 301.9 MB, free: 13.02 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003217/0.1599, allocations: 5.517 MB / 307.4 MB, free: 11.29 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006663/0.1605, allocations: 0.5604 MB / 308 MB, free: 11.07 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002365/0.1629, allocations: 3.612 MB / 311.6 MB, free: 7.98 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003361/0.1663, allocations: 5.502 MB / 317.1 MB, free: 2.645 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003872/0.1667, allocations: 352 kB / 317.4 MB, free: 2.301 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005076/0.1672, allocations: 390.1 kB / 317.8 MB, free: 1.922 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007458/0.1679, allocations: 1.927 MB / 319.7 MB, free: 28 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001133/0.169, allocations: 1.427 MB / 321.2 MB, free: 14.65 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003651/0.1727, allocations: 4.42 MB / 325.6 MB, free: 10.51 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.1727, allocations: 0 / 325.6 MB, free: 10.51 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1727, allocations: 0 / 325.6 MB, free: 10.51 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.176e-05/0.1728, allocations: 0 / 325.6 MB, free: 10.51 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.006335/0.1791, allocations: 8.463 MB / 334.1 MB, free: 2.453 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.1791, allocations: 15.98 kB / 334.1 MB, free: 2.438 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001035/0.1802, allocations: 1.1 MB / 335.2 MB, free: 1.332 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00211/0.1823, allocations: 3.125 MB / 338.3 MB, free: 14.4 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.028e-05/0.1824, allocations: 167.4 kB / 338.5 MB, free: 14.23 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001946/0.1826, allocations: 212.7 kB / 338.7 MB, free: 14.03 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001614/0.1842, allocations: 1.502 MB / 340.2 MB, free: 12.51 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.095e-05/0.1842, allocations: 5.125 kB / 340.2 MB, free: 12.5 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001142/0.1843, allocations: 88 kB / 340.3 MB, free: 12.42 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.606e-05/0.1844, allocations: 48 kB / 340.3 MB, free: 12.37 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009619/0.1853, allocations: 0.7233 MB / 341 MB, free: 11.64 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007213/0.1925, allocations: 6.488 MB / 347.5 MB, free: 5.715 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001548/0.1941, allocations: 1.363 MB / 348.9 MB, free: 4.406 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001004/0.1951, allocations: 0.8446 MB / 349.7 MB, free: 3.574 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001024/0.1952, allocations: 56.41 kB / 349.8 MB, free: 3.527 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008005/0.196, allocations: 0.8918 MB / 350.7 MB, free: 2.633 MB / 298.7 MB Notification: Performance of pre-optimization done (n=246): time 3.867e-06/0.196, allocations: 0 / 350.7 MB, free: 2.633 MB / 298.7 MB Notification: Performance of matching and sorting (n=371): time 0.02391/0.2199, allocations: 12.86 MB / 363.5 MB, free: 5.949 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01349/0.2334, allocations: 10.64 MB / 374.2 MB, free: 11.26 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006589/0.24, allocations: 9.314 MB / 383.5 MB, free: 2.742 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003383/0.2403, allocations: 85.7 kB / 383.6 MB, free: 2.652 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002799/0.2431, allocations: 4.55 MB / 388.1 MB, free: 14.09 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008593/0.244, allocations: 1.286 MB / 389.4 MB, free: 12.79 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007014/0.2447, allocations: 0.5425 MB / 389.9 MB, free: 12.24 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.284e-05/0.2448, allocations: 476.8 kB / 390.4 MB, free: 11.77 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008438/0.2456, allocations: 0.5102 MB / 390.9 MB, free: 11.26 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001269/0.2469, allocations: 1.091 MB / 392 MB, free: 10.03 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001767/0.2486, allocations: 1.577 MB / 393.6 MB, free: 8.383 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/0.2486, allocations: 3.938 kB / 393.6 MB, free: 8.379 MB / 346.7 MB Notification: Performance of matching and sorting (n=435) (initialization): time 0.005021/0.2537, allocations: 3.674 MB / 397.3 MB, free: 4.742 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.2537, allocations: 8 kB / 397.3 MB, free: 4.734 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/0.2537, allocations: 4.625 kB / 397.3 MB, free: 4.73 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0043/0.258, allocations: 1.87 MB / 399.2 MB, free: 2.824 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001222/0.2592, allocations: 0.5298 MB / 399.7 MB, free: 2.324 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01819/0.2774, allocations: 22.88 MB / 422.6 MB, free: 10.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001705/0.2791, allocations: 99.92 kB / 422.7 MB, free: 10.42 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001844/0.2793, allocations: 87.97 kB / 422.7 MB, free: 10.34 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,advancedSolenoid.armature.stopper_xMin.contact,advancedSolenoid.armature.stopper_xMax.contact,simpleSolenoid.armature.stopper_xMin.contact,simpleSolenoid.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,4,100.0%), (1,5,100.0%), (1,4,100.0%), (1,3,100.0%), (1,3,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,50), (2,43)} Notification: Performance of prepare postOptimizeDAE: time 0.00103/0.2803, allocations: 338.4 kB / 423.1 MB, free: 10.03 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009745/0.2813, allocations: 0.9825 MB / 424.1 MB, free: 9.039 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005869/0.2872, allocations: 3.453 MB / 427.5 MB, free: 5.594 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.516e-05/0.2872, allocations: 39.94 kB / 427.6 MB, free: 5.555 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.078e-05/0.2872, allocations: 4 kB / 427.6 MB, free: 5.551 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-05/0.2872, allocations: 19.94 kB / 427.6 MB, free: 5.531 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1268/0.4141, allocations: 7.531 MB / 435.1 MB, free: 110.4 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.111e-05/0.4141, allocations: 2.594 kB / 435.1 MB, free: 110.4 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001325/0.4154, allocations: 449.7 kB / 435.5 MB, free: 110.4 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004945/0.4203, allocations: 1.826 MB / 437.4 MB, free: 110.3 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001946/0.4205, allocations: 78.78 kB / 437.5 MB, free: 110.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01121/0.4317, allocations: 21.25 MB / 458.7 MB, free: 94.09 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01051/0.4422, allocations: 9.432 MB / 468.1 MB, free: 90.09 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005136/0.4474, allocations: 4.41 MB / 472.5 MB, free: 88.86 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006351/0.448, allocations: 0.7293 MB / 473.3 MB, free: 88.33 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003733/0.4484, allocations: 81.03 kB / 473.4 MB, free: 88.28 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009189/0.4493, allocations: 86.58 kB / 473.4 MB, free: 88.23 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004656/0.4498, allocations: 288.5 kB / 473.7 MB, free: 88.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001078/0.4499, allocations: 73.86 kB / 473.8 MB, free: 88.16 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.003769/0.4536, allocations: 5.412 MB / 479.2 MB, free: 85.29 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.2e-07/0.4536, allocations: 0 / 479.2 MB, free: 85.29 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002128/0.4558, allocations: 1.098 MB / 480.3 MB, free: 84.2 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.0009037/0.4567, allocations: 490.9 kB / 480.8 MB, free: 83.95 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002956/0.4596, allocations: 3.803 MB / 484.6 MB, free: 80.44 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.4596, allocations: 0.7656 kB / 484.6 MB, free: 80.44 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001832/0.4615, allocations: 3.056 MB / 487.6 MB, free: 77.33 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001617/0.4631, allocations: 0.5856 MB / 488.2 MB, free: 76.76 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01293/0.476, allocations: 13.57 MB / 0.49 GB, free: 63.15 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002085/0.4781, allocations: 1.566 MB / 0.4916 GB, free: 61.55 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001292/0.4794, allocations: 309.1 kB / 0.4919 GB, free: 61.24 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009823/0.4804, allocations: 0.5253 MB / 0.4924 GB, free: 60.71 MB / 378.7 MB Notification: Performance of SimCode: time 1.763e-06/0.4804, allocations: 0 / 0.4924 GB, free: 60.71 MB / 378.7 MB Notification: Performance of Templates: time 0.09707/0.5774, allocations: 71.14 MB / 0.5618 GB, free: 5.957 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: 5.656819619238377]