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.001409/0.001409, allocations: 80.8 kB / 21.49 MB, free: 2.988 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.001534/0.001534, allocations: 170.2 kB / 24.91 MB, free: 9.191 MB / 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.8878/0.8878, allocations: 177.1 MB / 205.3 MB, free: 5.469 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 1.943e-06/1.943e-06, allocations: 4 kB / 273.4 MB, free: 1.297 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.528e-06/1.147e-05, allocations: 2.312 kB / 273.4 MB, free: 1.293 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke): time 0.008052/0.008064, allocations: 10.85 MB / 284.3 MB, free: 6.383 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006246/0.01431, allocations: 3.984 MB / 288.3 MB, free: 2.387 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008403/0.01515, allocations: 39.81 kB / 288.3 MB, free: 2.348 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.09896/0.1141, allocations: 8.166 MB / 296.5 MB, free: 14.78 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004359/0.1185, allocations: 4.78 MB / 301.3 MB, free: 13.39 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001196/0.1197, allocations: 0.933 MB / 302.2 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002759/0.1224, allocations: 5.512 MB / 307.7 MB, free: 11.41 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005179/0.1229, allocations: 0.5786 MB / 308.3 MB, free: 11.12 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001712/0.1247, allocations: 3.609 MB / 311.9 MB, free: 7.953 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002/0.1267, allocations: 4.617 MB / 316.5 MB, free: 3.465 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002684/0.1269, allocations: 355.9 kB / 316.9 MB, free: 3.117 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000371/0.1273, allocations: 391.9 kB / 317.2 MB, free: 2.734 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000555/0.1279, allocations: 1.92 MB / 319.2 MB, free: 0.8477 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007461/0.1286, allocations: 1.438 MB / 320.6 MB, free: 15.45 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00252/0.1311, allocations: 4.414 MB / 325 MB, free: 11.32 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1311, allocations: 0 / 325 MB, free: 11.32 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1311, allocations: 0.5938 kB / 325 MB, free: 11.32 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.936e-05/0.1312, allocations: 0.6875 kB / 325 MB, free: 11.32 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.005182/0.1363, allocations: 7.75 MB / 332.8 MB, free: 3.992 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.755e-05/0.1364, allocations: 8.031 kB / 332.8 MB, free: 3.984 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006955/0.1371, allocations: 0.6838 MB / 333.5 MB, free: 3.301 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001836/0.1389, allocations: 2.78 MB / 336.2 MB, free: 0.7188 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.605e-05/0.139, allocations: 160.2 kB / 336.4 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001787/0.1392, allocations: 211.5 kB / 336.6 MB, free: 364 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001369/0.1405, allocations: 1.555 MB / 338.2 MB, free: 14.78 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.712e-05/0.1406, allocations: 0 / 338.2 MB, free: 14.78 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001011/0.1407, allocations: 84.98 kB / 338.2 MB, free: 14.7 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.579e-05/0.1407, allocations: 48 kB / 338.3 MB, free: 14.65 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008228/0.1415, allocations: 0.6175 MB / 338.9 MB, free: 14.03 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005288/0.1468, allocations: 4.454 MB / 343.4 MB, free: 9.746 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001185/0.148, allocations: 1.269 MB / 344.6 MB, free: 8.539 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008749/0.1489, allocations: 0.7832 MB / 345.4 MB, free: 7.773 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.569e-05/0.149, allocations: 54.3 kB / 345.5 MB, free: 7.723 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007017/0.1497, allocations: 0.8765 MB / 346.3 MB, free: 6.855 MB / 298.7 MB Notification: Performance of pre-optimization done (n=246): time 3.226e-06/0.1497, allocations: 0 / 346.3 MB, free: 6.855 MB / 298.7 MB Notification: Performance of matching and sorting (n=371): time 0.02368/0.1733, allocations: 13.34 MB / 359.7 MB, free: 9.742 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01143/0.1848, allocations: 8.576 MB / 368.3 MB, free: 1.148 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00548/0.1903, allocations: 8.661 MB / 376.9 MB, free: 9.703 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001441/0.1904, allocations: 89.7 kB / 377 MB, free: 9.609 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008818/0.1913, allocations: 1.605 MB / 378.6 MB, free: 7.992 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005846/0.1919, allocations: 1.282 MB / 379.9 MB, free: 6.699 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005451/0.1924, allocations: 0.5272 MB / 380.4 MB, free: 6.164 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.159e-05/0.1925, allocations: 309.1 kB / 380.7 MB, free: 5.859 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008583/0.1933, allocations: 491.5 kB / 381.2 MB, free: 5.375 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001039/0.1944, allocations: 0.9739 MB / 382.2 MB, free: 4.293 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001625/0.196, allocations: 1.491 MB / 383.7 MB, free: 2.75 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.563e-06/0.196, allocations: 4.062 kB / 383.7 MB, free: 2.746 MB / 330.7 MB Notification: Performance of matching and sorting (n=435) (initialization): time 0.003898/0.1999, allocations: 2.77 MB / 386.4 MB, free: 32 kB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.1999, allocations: 4 kB / 386.4 MB, free: 28 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/0.1999, allocations: 8 kB / 386.4 MB, free: 20 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003922/0.2038, allocations: 1.794 MB / 388.2 MB, free: 14.2 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001168/0.205, allocations: 0.5211 MB / 388.8 MB, free: 13.71 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01107/0.2161, allocations: 16.34 MB / 405.1 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001088/0.2172, allocations: 112 kB / 405.2 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001184/0.2173, allocations: 83.97 kB / 405.3 MB, free: 12.49 MB / 362.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.0007883/0.2181, allocations: 291.5 kB / 405.6 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005925/0.2187, allocations: 0.5619 MB / 406.1 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003669/0.2223, allocations: 2.981 MB / 409.1 MB, free: 8.695 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-05/0.2224, allocations: 39.94 kB / 409.2 MB, free: 8.656 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.2224, allocations: 4 kB / 409.2 MB, free: 8.652 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.149e-05/0.2224, allocations: 23.88 kB / 409.2 MB, free: 8.629 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007002/0.2294, allocations: 5.575 MB / 414.8 MB, free: 2.984 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.504e-06/0.2294, allocations: 4 kB / 414.8 MB, free: 2.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001034/0.2304, allocations: 451.5 kB / 415.2 MB, free: 2.539 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004256/0.2347, allocations: 2.316 MB / 417.5 MB, free: 196 kB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001142/0.2348, allocations: 71.97 kB / 417.6 MB, free: 124 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009816/0.2446, allocations: 15.25 MB / 432.8 MB, free: 80 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.1036/0.3482, allocations: 7.592 MB / 440.4 MB, free: 109.3 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005025/0.3533, allocations: 3.501 MB / 443.9 MB, free: 108.7 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005899/0.3538, allocations: 0.6977 MB / 444.6 MB, free: 108.7 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003784/0.3542, allocations: 69.44 kB / 444.7 MB, free: 108.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008841/0.3551, allocations: 86.28 kB / 444.8 MB, free: 108.7 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004235/0.3555, allocations: 289.1 kB / 445.1 MB, free: 108.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00011/0.3556, allocations: 68.14 kB / 445.1 MB, free: 108.7 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.003166/0.3588, allocations: 4.819 MB / 450 MB, free: 108.4 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3588, allocations: 0 / 450 MB, free: 108.4 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001961/0.3608, allocations: 1.099 MB / 451.1 MB, free: 108.4 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.001161/0.3619, allocations: 0.6167 MB / 451.7 MB, free: 108.3 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002512/0.3644, allocations: 3.152 MB / 454.8 MB, free: 107.1 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.602e-05/0.3645, allocations: 84.59 kB / 454.9 MB, free: 107.1 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001529/0.366, allocations: 2.477 MB / 457.4 MB, free: 106 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001493/0.3675, allocations: 0.5698 MB / 458 MB, free: 106 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009926/0.3774, allocations: 13.26 MB / 471.2 MB, free: 94.96 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0013/0.3787, allocations: 1.571 MB / 472.8 MB, free: 94.02 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0008549/0.3796, allocations: 309.2 kB / 473.1 MB, free: 93.79 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008216/0.3804, allocations: 484.2 kB / 473.6 MB, free: 93.4 MB / 378.7 MB Notification: Performance of SimCode: time 1.262e-06/0.3804, allocations: 0 / 473.6 MB, free: 93.4 MB / 378.7 MB Notification: Performance of Templates: time 0.07364/0.4541, allocations: 70.68 MB / 0.5315 GB, free: 23.69 MB / 378.7 MB " [Timeout remaining time 660] 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: 4.850292910356075]