Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001101/0.001101, allocations: 91.61 kB / 22.18 MB, free: 2.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.0008514/0.0008514, allocations: 156.9 kB / 25.45 MB, free: 9.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8441/0.8441, allocations: 158.6 MB / 187.2 MB, free: 3.051 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 299.7 MB, free: 6.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.773e-05/2.933e-05, allocations: 2.281 kB / 299.7 MB, free: 6.926 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke): time 0.007397/0.007427, allocations: 9.479 MB / 309.2 MB, free: 13.4 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006006/0.01343, allocations: 3.511 MB / 312.7 MB, free: 9.875 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001245/0.01468, allocations: 39.81 kB / 312.7 MB, free: 9.836 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005478/0.02016, allocations: 8.165 MB / 320.9 MB, free: 1.652 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00387/0.02403, allocations: 4.681 MB / 325.6 MB, free: 12.96 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001501/0.02553, allocations: 0.9398 MB / 326.5 MB, free: 12.02 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.004099/0.02963, allocations: 5.4 MB / 331.9 MB, free: 6.602 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007047/0.03033, allocations: 0.5667 MB / 332.5 MB, free: 6.008 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002706/0.03304, allocations: 3.536 MB / 336 MB, free: 2.465 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003209/0.03625, allocations: 5.445 MB / 341.5 MB, free: 13 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003107/0.03656, allocations: 352 kB / 341.8 MB, free: 12.66 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006773/0.03723, allocations: 391.9 kB / 342.2 MB, free: 12.27 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008377/0.03807, allocations: 1.912 MB / 344.1 MB, free: 10.35 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000838/0.03891, allocations: 1.408 MB / 345.5 MB, free: 8.934 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004244/0.04315, allocations: 7.031 MB / 352.5 MB, free: 1.879 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.04316, allocations: 0 / 352.5 MB, free: 1.879 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.04316, allocations: 0 / 352.5 MB, free: 1.879 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.487e-05/0.04322, allocations: 0 / 352.5 MB, free: 1.879 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.1315/0.1748, allocations: 7.768 MB / 360.3 MB, free: 57.31 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.1748, allocations: 12.55 kB / 360.3 MB, free: 57.3 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009671/0.1758, allocations: 0.8932 MB / 361.2 MB, free: 56.8 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003039/0.1788, allocations: 3.17 MB / 364.4 MB, free: 54.9 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001066/0.1789, allocations: 159 kB / 364.5 MB, free: 54.82 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002229/0.1791, allocations: 207.1 kB / 364.7 MB, free: 54.75 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002816/0.182, allocations: 2.245 MB / 367 MB, free: 53.69 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.457e-05/0.182, allocations: 4.656 kB / 367 MB, free: 53.69 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001181/0.1821, allocations: 84.84 kB / 367.1 MB, free: 53.62 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.305e-05/0.1822, allocations: 50.91 kB / 367.1 MB, free: 53.62 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002526/0.1847, allocations: 1.896 MB / 369 MB, free: 52.93 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007545/0.1922, allocations: 7.519 MB / 376.5 MB, free: 46.5 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001953/0.1942, allocations: 2.038 MB / 378.6 MB, free: 44.45 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001353/0.1955, allocations: 1.312 MB / 379.9 MB, free: 43.14 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.08e-05/0.1956, allocations: 34.3 kB / 379.9 MB, free: 43.11 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001088/0.1967, allocations: 1.285 MB / 381.2 MB, free: 41.76 MB / 330.7 MB Notification: Performance of pre-optimization done (n=242): time 3.807e-06/0.1967, allocations: 0 / 381.2 MB, free: 41.76 MB / 330.7 MB Notification: Performance of matching and sorting (n=367): time 0.03013/0.2268, allocations: 22.55 MB / 403.8 MB, free: 19.13 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01387/0.2407, allocations: 13.04 MB / 416.8 MB, free: 5.816 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0101/0.2508, allocations: 14.91 MB / 431.7 MB, free: 6.965 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004202/0.2512, allocations: 85.7 kB / 431.8 MB, free: 6.875 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002232/0.2535, allocations: 3.508 MB / 435.3 MB, free: 3.363 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000735/0.2542, allocations: 1.257 MB / 436.5 MB, free: 2.121 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005898/0.2548, allocations: 0.5156 MB / 437.1 MB, free: 1.598 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.27e-05/0.2548, allocations: 305.1 kB / 437.4 MB, free: 1.297 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001614/0.2565, allocations: 1.26 MB / 438.6 MB, free: 36 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002049/0.2585, allocations: 1.747 MB / 440.4 MB, free: 14.18 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003358/0.2619, allocations: 3.015 MB / 443.4 MB, free: 11.1 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.2619, allocations: 0 / 443.4 MB, free: 11.1 MB / 362.7 MB Notification: Performance of matching and sorting (n=431) (initialization): time 0.006849/0.2687, allocations: 5.197 MB / 448.6 MB, free: 5.867 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/0.2687, allocations: 4 kB / 448.6 MB, free: 5.863 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.256e-05/0.2688, allocations: 8 kB / 448.6 MB, free: 5.855 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002622/0.2714, allocations: 1.397 MB / 450 MB, free: 4.438 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001285/0.2727, allocations: 0.5383 MB / 450.5 MB, free: 3.898 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01775/0.2904, allocations: 22.46 MB / 473 MB, free: 12.54 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001982/0.2924, allocations: 136 kB / 473.1 MB, free: 12.41 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001666/0.2926, allocations: 108 kB / 473.2 MB, free: 12.3 MB / 394.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.003045/0.2956, allocations: 2.195 MB / 475.4 MB, free: 10.09 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001144/0.2968, allocations: 0.8537 MB / 476.3 MB, free: 9.234 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006726/0.3035, allocations: 5.27 MB / 481.5 MB, free: 3.918 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.842e-05/0.3035, allocations: 36.14 kB / 481.6 MB, free: 3.883 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/0.3035, allocations: 8 kB / 481.6 MB, free: 3.875 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.491e-05/0.3035, allocations: 23.91 kB / 481.6 MB, free: 3.852 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01187/0.3154, allocations: 9.875 MB / 491.5 MB, free: 9.883 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.486e-06/0.3154, allocations: 4 kB / 491.5 MB, free: 9.879 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001156/0.3166, allocations: 463.3 kB / 491.9 MB, free: 9.426 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002495/0.3191, allocations: 1.324 MB / 493.3 MB, free: 8.078 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001406/0.3192, allocations: 79.91 kB / 493.3 MB, free: 8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01631/0.3355, allocations: 20.37 MB / 0.5017 GB, free: 2.699 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.1556/0.4911, allocations: 11.35 MB / 0.5128 GB, free: 133.4 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009334/0.5004, allocations: 6.981 MB / 0.5196 GB, free: 130.6 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009993/0.5014, allocations: 0.72 MB / 0.5203 GB, free: 130.6 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000338/0.5018, allocations: 63.5 kB / 0.5203 GB, free: 130.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000977/0.5028, allocations: 113.5 kB / 0.5205 GB, free: 130.5 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004955/0.5032, allocations: 291.8 kB / 0.5207 GB, free: 130.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001235/0.5034, allocations: 95 kB / 0.5208 GB, free: 130.5 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00683/0.5102, allocations: 11.1 MB / 0.5317 GB, free: 124.9 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.5102, allocations: 0 / 0.5317 GB, free: 124.9 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002187/0.5124, allocations: 1.08 MB / 0.5327 GB, free: 123.9 MB / 426.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.0008552/0.5132, allocations: 0.5201 MB / 0.5332 GB, free: 123.5 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004183/0.5174, allocations: 4.655 MB / 0.5378 GB, free: 119.1 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.5174, allocations: 0 / 0.5378 GB, free: 119.1 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002318/0.5197, allocations: 3.154 MB / 0.5409 GB, free: 116.2 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002018/0.5218, allocations: 0.5379 MB / 0.5414 GB, free: 115.7 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01236/0.5341, allocations: 18.27 MB / 0.5592 GB, free: 98.31 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001885/0.536, allocations: 3.53 MB / 0.5627 GB, free: 94.73 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006553/0.5367, allocations: 196.4 kB / 0.5629 GB, free: 94.54 MB / 426.7 MB Notification: Performance of SimCode: time 1.002e-06/0.5367, allocations: 0 / 0.5629 GB, free: 94.54 MB / 426.7 MB Notification: Performance of Templates: time 0.7661/1.303, allocations: 0.5453 GB / 1.108 GB, free: 61.88 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/SolenoidActuator/ComparisonPullInStroke/ComparisonPullInStroke.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.952048305422068]