Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0012/0.0012, allocations: 84 kB / 21.43 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003412/0.003412, allocations: 146 kB / 24.68 MB, free: 9.422 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8325/0.8325, allocations: 173.4 MB / 201.2 MB, free: 9.426 MB / 186.7 MB " [Timeout remaining time 179] 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 0 / 319.7 MB, free: 5.859 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.227e-05/3.444e-05, allocations: 6.219 kB / 319.7 MB, free: 5.852 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke): time 0.008263/0.008298, allocations: 9.606 MB / 329.3 MB, free: 12.2 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005248/0.01355, allocations: 3.6 MB / 332.9 MB, free: 8.59 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001238/0.01478, allocations: 47.75 kB / 332.9 MB, free: 8.543 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007191/0.02198, allocations: 8.157 MB / 341.1 MB, free: 372 kB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006156/0.02813, allocations: 4.685 MB / 345.8 MB, free: 11.66 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002068/0.0302, allocations: 0.9593 MB / 346.7 MB, free: 10.7 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.006102/0.0363, allocations: 5.4 MB / 352.1 MB, free: 5.285 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001167/0.03747, allocations: 0.5511 MB / 352.7 MB, free: 4.707 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005552/0.04302, allocations: 3.537 MB / 356.2 MB, free: 1.164 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006556/0.04957, allocations: 5.452 MB / 361.7 MB, free: 11.7 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008591/0.05043, allocations: 348 kB / 362 MB, free: 11.36 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009428/0.05138, allocations: 395.9 kB / 362.4 MB, free: 10.97 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001241/0.05262, allocations: 1.912 MB / 364.3 MB, free: 9.043 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001498/0.05412, allocations: 1.412 MB / 365.7 MB, free: 7.625 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005042/0.05916, allocations: 7.027 MB / 372.7 MB, free: 0.5742 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.05916, allocations: 3.938 kB / 372.8 MB, free: 0.5703 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.05917, allocations: 0 / 372.8 MB, free: 0.5703 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002091/0.05938, allocations: 0 / 372.8 MB, free: 0.5703 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 528 * Number of variables: 528 Notification: Performance of Generate backend data structure: time 0.008545/0.06792, allocations: 7.773 MB / 380.5 MB, free: 8.703 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.06797, allocations: 8.922 kB / 380.5 MB, free: 8.695 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007864/0.06875, allocations: 0.8934 MB / 381.4 MB, free: 7.797 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003009/0.07176, allocations: 3.173 MB / 384.6 MB, free: 4.57 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.046e-05/0.07185, allocations: 160.5 kB / 384.8 MB, free: 4.41 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002041/0.07206, allocations: 204.3 kB / 385 MB, free: 4.211 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002868/0.07492, allocations: 2.242 MB / 387.2 MB, free: 1.871 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.256e-05/0.07497, allocations: 11.94 kB / 387.2 MB, free: 1.859 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001234/0.07509, allocations: 84 kB / 387.3 MB, free: 1.777 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.781e-05/0.07512, allocations: 48 kB / 387.3 MB, free: 1.73 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002406/0.07752, allocations: 1.895 MB / 389.2 MB, free: 15.83 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009054/0.08658, allocations: 7.514 MB / 396.7 MB, free: 8.207 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002347/0.08892, allocations: 2.023 MB / 398.8 MB, free: 6.156 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001881/0.09081, allocations: 1.319 MB / 400.1 MB, free: 4.828 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.524e-05/0.09089, allocations: 34.23 kB / 400.1 MB, free: 4.793 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001333/0.09222, allocations: 1.293 MB / 401.4 MB, free: 3.434 MB / 362.7 MB Notification: Performance of pre-optimization done (n=242): time 4.408e-06/0.09223, allocations: 0 / 401.4 MB, free: 3.434 MB / 362.7 MB Notification: Performance of matching and sorting (n=367): time 0.03759/0.1298, allocations: 22.56 MB / 424 MB, free: 12.7 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01714/0.147, allocations: 13.05 MB / 437 MB, free: 15.35 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01108/0.158, allocations: 14.9 MB / 451.9 MB, free: 0.5078 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004829/0.1585, allocations: 85.64 kB / 452 MB, free: 428 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1532/0.3117, allocations: 3.51 MB / 455.5 MB, free: 117.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001435/0.3131, allocations: 1.257 MB / 456.8 MB, free: 117.3 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009208/0.314, allocations: 0.5109 MB / 457.3 MB, free: 117.1 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.054e-05/0.3141, allocations: 310 kB / 457.6 MB, free: 116.8 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001794/0.3159, allocations: 1.253 MB / 458.8 MB, free: 116.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001813/0.3177, allocations: 1.758 MB / 460.6 MB, free: 115.3 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003138/0.3208, allocations: 3.001 MB / 463.6 MB, free: 113.7 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.387e-06/0.3208, allocations: 0 / 463.6 MB, free: 113.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=431) (initialization): time 0.006611/0.3274, allocations: 5.212 MB / 468.8 MB, free: 110.4 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.103e-05/0.3275, allocations: 8 kB / 468.8 MB, free: 110.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.658e-05/0.3275, allocations: 4 kB / 468.8 MB, free: 110.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002603/0.3301, allocations: 1.384 MB / 470.2 MB, free: 109.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001354/0.3314, allocations: 0.5419 MB / 470.8 MB, free: 108.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01454/0.346, allocations: 22.46 MB / 493.2 MB, free: 86.03 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002445/0.3484, allocations: 127.4 kB / 493.3 MB, free: 85.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000239/0.3487, allocations: 116 kB / 493.4 MB, free: 85.8 MB / 410.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 (309): * Single equations (assignments): 300 * 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,4,100.0%), (1,3,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.002739/0.3514, allocations: 2.19 MB / 495.6 MB, free: 83.61 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007679/0.3522, allocations: 0.8614 MB / 496.5 MB, free: 82.74 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006568/0.3587, allocations: 5.266 MB / 0.49 GB, free: 77.46 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.951e-05/0.3588, allocations: 37.69 kB / 0.49 GB, free: 77.43 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.375e-05/0.3588, allocations: 8 kB / 0.49 GB, free: 77.42 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.002e-05/0.3588, allocations: 23.86 kB / 0.4901 GB, free: 77.39 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01165/0.3704, allocations: 9.86 MB / 0.4997 GB, free: 67.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.318e-05/0.3704, allocations: 0 / 0.4997 GB, free: 67.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001174/0.3716, allocations: 471.3 kB / 0.5001 GB, free: 67.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002499/0.3741, allocations: 1.332 MB / 0.5014 GB, free: 65.73 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001906/0.3743, allocations: 75.97 kB / 0.5015 GB, free: 65.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01262/0.3869, allocations: 20.38 MB / 0.5214 GB, free: 44.39 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01225/0.3992, allocations: 11.36 MB / 0.5325 GB, free: 32.82 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008494/0.4077, allocations: 6.966 MB / 0.5393 GB, free: 25.76 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001144/0.4088, allocations: 0.7193 MB / 0.54 GB, free: 25.04 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003607/0.4092, allocations: 71.95 kB / 0.5401 GB, free: 24.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001046/0.4102, allocations: 115.9 kB / 0.5402 GB, free: 24.85 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004789/0.4107, allocations: 287.3 kB / 0.5405 GB, free: 24.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001134/0.4108, allocations: 95.97 kB / 0.5406 GB, free: 24.48 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.006194/0.417, allocations: 11.1 MB / 0.5514 GB, free: 13.43 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.81e-07/0.417, allocations: 0 / 0.5514 GB, free: 13.43 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003319/0.4203, allocations: 1.074 MB / 0.5525 GB, free: 12.35 MB / 410.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 (256): * Single equations (assignments): 245 * 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.0009654/0.4213, allocations: 0.5295 MB / 0.553 GB, free: 12.02 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005015/0.4263, allocations: 4.645 MB / 0.5575 GB, free: 7.266 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/0.4263, allocations: 8.188 kB / 0.5575 GB, free: 7.258 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002772/0.4291, allocations: 3.151 MB / 0.5606 GB, free: 3.988 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002185/0.4313, allocations: 0.5426 MB / 0.5611 GB, free: 3.453 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01843/0.4497, allocations: 18.28 MB / 0.579 GB, free: 1.133 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003084/0.4528, allocations: 3.53 MB / 0.5824 GB, free: 13.55 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001067/0.4538, allocations: 196.4 kB / 0.5826 GB, free: 13.36 MB / 442.7 MB Notification: Performance of SimCode: time 1.863e-06/0.4538, allocations: 0 / 0.5826 GB, free: 13.36 MB / 442.7 MB Notification: Performance of Templates: time 0.9373/1.391, allocations: 0.5452 GB / 1.128 GB, free: 175.3 MB / 490.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/SolenoidActuator/ComparisonPullInStroke/ComparisonPullInStroke.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.101172866299748]