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.001725/0.001725, allocations: 75.75 kB / 21.97 MB, free: 2.605 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.002172/0.002172, allocations: 168.1 kB / 25.33 MB, free: 9.449 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.9348/0.9348, allocations: 158.6 MB / 187.2 MB, free: 2.551 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 2.265e-06/2.265e-06, allocations: 0 / 251 MB, free: 3.602 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.69e-05/2.917e-05, allocations: 5.406 kB / 251 MB, free: 3.598 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke): time 0.009789/0.009818, allocations: 10.73 MB / 261.8 MB, free: 8.816 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.009914/0.01973, allocations: 3.546 MB / 265.3 MB, free: 5.25 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002898/0.02263, allocations: 47.75 kB / 265.4 MB, free: 5.203 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006335/0.02897, allocations: 8.157 MB / 273.5 MB, free: 13.03 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006938/0.0359, allocations: 4.681 MB / 278.2 MB, free: 8.332 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00248/0.03838, allocations: 0.9399 MB / 279.1 MB, free: 7.391 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.007503/0.04589, allocations: 5.406 MB / 284.6 MB, free: 1.969 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001338/0.04722, allocations: 0.5511 MB / 285.1 MB, free: 1.383 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006686/0.05391, allocations: 3.544 MB / 288.6 MB, free: 13.83 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005649/0.05956, allocations: 5.48 MB / 294.1 MB, free: 8.336 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009184/0.06048, allocations: 352 kB / 294.5 MB, free: 7.992 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009475/0.06143, allocations: 380 kB / 294.8 MB, free: 7.621 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001421/0.06285, allocations: 1.92 MB / 296.8 MB, free: 5.688 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001705/0.06455, allocations: 1.42 MB / 298.2 MB, free: 4.262 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2008/0.2654, allocations: 4.378 MB / 302.6 MB, free: 39.58 MB / 282.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.2654, allocations: 0 / 302.6 MB, free: 39.58 MB / 282.8 MB Notification: Performance of FrontEnd: time 8.12e-07/0.2654, allocations: 0 / 302.6 MB, free: 39.58 MB / 282.8 MB Notification: Performance of Transformations before backend: time 0.0002019/0.2656, allocations: 0.5938 kB / 302.6 MB, free: 39.58 MB / 282.8 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.009784/0.2753, allocations: 8.274 MB / 310.8 MB, free: 35.3 MB / 282.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.2754, allocations: 13.83 kB / 310.8 MB, free: 35.3 MB / 282.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001029/0.2764, allocations: 1.058 MB / 311.9 MB, free: 34.79 MB / 282.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00276/0.2792, allocations: 3.168 MB / 315.1 MB, free: 33.26 MB / 282.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00012/0.2793, allocations: 156.5 kB / 315.2 MB, free: 33.25 MB / 282.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002436/0.2795, allocations: 212.3 kB / 315.4 MB, free: 33.25 MB / 282.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002311/0.2819, allocations: 1.657 MB / 317.1 MB, free: 32.9 MB / 282.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.953e-05/0.2819, allocations: 8.109 kB / 317.1 MB, free: 32.89 MB / 282.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001257/0.282, allocations: 87 kB / 317.2 MB, free: 32.89 MB / 282.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.268e-05/0.2821, allocations: 51.22 kB / 317.2 MB, free: 32.89 MB / 282.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001494/0.2835, allocations: 0.9402 MB / 318.2 MB, free: 32.86 MB / 282.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009293/0.2928, allocations: 7.863 MB / 326 MB, free: 29.48 MB / 282.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00181/0.2947, allocations: 1.505 MB / 327.5 MB, free: 28.96 MB / 282.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001191/0.2958, allocations: 0.9251 MB / 328.5 MB, free: 28.76 MB / 282.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001086/0.296, allocations: 52.12 kB / 328.5 MB, free: 28.75 MB / 282.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001021/0.297, allocations: 0.957 MB / 329.5 MB, free: 28.25 MB / 282.8 MB Notification: Performance of pre-optimization done (n=242): time 3.867e-06/0.297, allocations: 0 / 329.5 MB, free: 28.25 MB / 282.8 MB Notification: Performance of matching and sorting (n=367): time 0.02904/0.326, allocations: 18.61 MB / 348.1 MB, free: 9.859 MB / 282.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01453/0.3406, allocations: 10.95 MB / 359 MB, free: 14.67 MB / 298.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007864/0.3484, allocations: 9.686 MB / 368.7 MB, free: 5.043 MB / 298.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0005179/0.3489, allocations: 85.7 kB / 368.8 MB, free: 4.953 MB / 298.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002539/0.3515, allocations: 3.979 MB / 372.8 MB, free: 0.9688 MB / 298.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001269/0.3527, allocations: 1.254 MB / 374 MB, free: 15.73 MB / 314.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006421/0.3534, allocations: 0.5251 MB / 374.6 MB, free: 15.2 MB / 314.8 MB Notification: Performance of setup shared object (initialization): time 9.787e-05/0.3535, allocations: 484.5 kB / 375 MB, free: 14.72 MB / 314.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001043/0.3545, allocations: 0.5804 MB / 375.6 MB, free: 14.14 MB / 314.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001305/0.3558, allocations: 1.15 MB / 376.8 MB, free: 12.85 MB / 314.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002423/0.3583, allocations: 1.767 MB / 378.5 MB, free: 11.01 MB / 314.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.125e-06/0.3583, allocations: 0 / 378.5 MB, free: 11.01 MB / 314.8 MB Notification: Performance of matching and sorting (n=431) (initialization): time 0.00675/0.365, allocations: 3.906 MB / 382.4 MB, free: 7.141 MB / 314.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.902e-05/0.365, allocations: 10.66 kB / 382.5 MB, free: 7.133 MB / 314.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.622e-05/0.3651, allocations: 4 kB / 382.5 MB, free: 7.129 MB / 314.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004963/0.37, allocations: 1.888 MB / 384.3 MB, free: 5.207 MB / 314.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001429/0.3714, allocations: 0.529 MB / 384.9 MB, free: 4.707 MB / 314.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01798/0.3894, allocations: 23.47 MB / 408.3 MB, free: 12.26 MB / 346.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002596/0.392, allocations: 118.3 kB / 408.5 MB, free: 12.15 MB / 346.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001874/0.3922, allocations: 116 kB / 408.6 MB, free: 12.04 MB / 346.8 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.001193/0.3934, allocations: 337.2 kB / 408.9 MB, free: 11.73 MB / 346.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009119/0.3943, allocations: 0.9742 MB / 409.9 MB, free: 10.75 MB / 346.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005579/0.3999, allocations: 3.7 MB / 413.6 MB, free: 7.059 MB / 346.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.128e-05/0.3999, allocations: 39.47 kB / 413.6 MB, free: 7.023 MB / 346.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.626e-05/0.3999, allocations: 4 kB / 413.6 MB, free: 7.02 MB / 346.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-05/0.4, allocations: 23.92 kB / 413.6 MB, free: 6.996 MB / 346.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01415/0.4141, allocations: 9.051 MB / 422.7 MB, free: 13.99 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.351e-05/0.4141, allocations: 4 kB / 422.7 MB, free: 13.98 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001286/0.4154, allocations: 455.4 kB / 423.1 MB, free: 13.56 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005248/0.4207, allocations: 1.826 MB / 425 MB, free: 11.7 MB / 362.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000243/0.4209, allocations: 75.91 kB / 425 MB, free: 11.63 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1439/0.5648, allocations: 21.77 MB / 446.8 MB, free: 106.4 MB / 362.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01319/0.578, allocations: 9.7 MB / 456.5 MB, free: 102.5 MB / 362.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007104/0.5851, allocations: 4.812 MB / 461.3 MB, free: 101.7 MB / 362.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001084/0.5862, allocations: 0.7184 MB / 462 MB, free: 101.7 MB / 362.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004262/0.5866, allocations: 75.52 kB / 462.1 MB, free: 101.7 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001011/0.5876, allocations: 96.72 kB / 462.2 MB, free: 101.7 MB / 362.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005865/0.5882, allocations: 284.7 kB / 462.5 MB, free: 101.7 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001317/0.5883, allocations: 98.55 kB / 462.6 MB, free: 101.7 MB / 362.8 MB Notification: Performance of sorting global known variables: time 0.004816/0.5931, allocations: 5.998 MB / 468.6 MB, free: 98.83 MB / 362.8 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5931, allocations: 0 / 468.6 MB, free: 98.83 MB / 362.8 MB Notification: Performance of remove unused functions: time 0.00281/0.596, allocations: 1.079 MB / 469.7 MB, free: 97.75 MB / 362.8 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.001176/0.5971, allocations: 485.1 kB / 470.1 MB, free: 97.41 MB / 362.8 MB Notification: Performance of simCode: created initialization part: time 0.004212/0.6013, allocations: 4.041 MB / 474.2 MB, free: 93.64 MB / 362.8 MB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.6013, allocations: 0 / 474.2 MB, free: 93.64 MB / 362.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002647/0.604, allocations: 3.174 MB / 477.4 MB, free: 90.62 MB / 362.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002737/0.6067, allocations: 0.5606 MB / 477.9 MB, free: 90.13 MB / 362.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0139/0.6206, allocations: 13.67 MB / 491.6 MB, free: 76.88 MB / 362.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001212/0.6218, allocations: 1.553 MB / 493.1 MB, free: 75.29 MB / 362.8 MB Notification: Performance of simCode: alias equations: time 0.001207/0.623, allocations: 304.8 kB / 493.4 MB, free: 74.98 MB / 362.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004657/0.6235, allocations: 172.4 kB / 493.6 MB, free: 74.82 MB / 362.8 MB Notification: Performance of SimCode: time 1.863e-06/0.6235, allocations: 0 / 493.6 MB, free: 74.82 MB / 362.8 MB Notification: Performance of Templates: time 0.0782/0.7017, allocations: 66.12 MB / 0.5466 GB, free: 8.488 MB / 362.8 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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.pipe 2>&1) [Timeout 240] 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","",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.379817669745535]