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.0007697/0.0007697, allocations: 88.28 kB / 21.44 MB, free: 3.129 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.004441/0.004441, allocations: 156 kB / 24.7 MB, free: 9.434 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.8369/0.8369, allocations: 177 MB / 204.9 MB, free: 5.734 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.363e-06/1.363e-06, allocations: 0 / 325.8 MB, free: 15.4 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.329e-05/2.466e-05, allocations: 7.203 kB / 325.8 MB, free: 15.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke): time 0.00772/0.007745, allocations: 9.863 MB / 335.6 MB, free: 5.473 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005884/0.01363, allocations: 3.814 MB / 339.5 MB, free: 1.648 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001197/0.01483, allocations: 47.75 kB / 339.5 MB, free: 1.602 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005336/0.02016, allocations: 8.165 MB / 347.7 MB, free: 9.414 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003709/0.02387, allocations: 4.774 MB / 352.4 MB, free: 4.625 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001321/0.02519, allocations: 0.9319 MB / 353.4 MB, free: 3.691 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.004608/0.0298, allocations: 5.515 MB / 358.9 MB, free: 14.16 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007177/0.03052, allocations: 0.5593 MB / 359.4 MB, free: 13.58 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003791/0.03431, allocations: 3.595 MB / 363 MB, free: 9.977 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004483/0.03879, allocations: 5.48 MB / 368.5 MB, free: 4.48 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004403/0.03923, allocations: 360 kB / 368.9 MB, free: 4.129 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004947/0.03973, allocations: 399.9 kB / 369.3 MB, free: 3.738 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008922/0.04062, allocations: 1.931 MB / 371.2 MB, free: 1.793 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001019/0.04164, allocations: 1.439 MB / 372.6 MB, free: 356 kB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004854/0.04649, allocations: 7.171 MB / 379.8 MB, free: 9.148 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.249e-06/0.0465, allocations: 0 / 379.8 MB, free: 9.148 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.0465, allocations: 4 kB / 379.8 MB, free: 9.145 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001529/0.04665, allocations: 0 / 379.8 MB, free: 9.145 MB / 346.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.007446/0.0541, allocations: 7.866 MB / 387.7 MB, free: 1.188 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.187e-05/0.05415, allocations: 11.98 kB / 387.7 MB, free: 1.176 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009851/0.05514, allocations: 0.9557 MB / 388.6 MB, free: 220 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004294/0.05943, allocations: 3.222 MB / 391.9 MB, free: 12.94 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.667e-05/0.05952, allocations: 156.5 kB / 392 MB, free: 12.78 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002013/0.05972, allocations: 211.9 kB / 392.2 MB, free: 12.57 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002562/0.06228, allocations: 2.226 MB / 394.5 MB, free: 10.25 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.582e-05/0.06231, allocations: 3.953 kB / 394.5 MB, free: 10.25 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001249/0.06244, allocations: 88 kB / 394.5 MB, free: 10.16 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.67e-05/0.06247, allocations: 48 kB / 394.6 MB, free: 10.11 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00228/0.06475, allocations: 1.852 MB / 396.4 MB, free: 8.25 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008032/0.07278, allocations: 7.575 MB / 404 MB, free: 0.5742 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002438/0.07522, allocations: 2.02 MB / 406 MB, free: 14.53 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00155/0.07676, allocations: 1.287 MB / 407.3 MB, free: 13.24 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.881e-05/0.07685, allocations: 34.3 kB / 407.4 MB, free: 13.21 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001408/0.07826, allocations: 1.266 MB / 408.6 MB, free: 11.88 MB / 378.7 MB Notification: Performance of pre-optimization done (n=246): time 5.771e-06/0.07827, allocations: 0 / 408.6 MB, free: 11.88 MB / 378.7 MB Notification: Performance of matching and sorting (n=371): time 0.03441/0.1127, allocations: 22.2 MB / 430.8 MB, free: 5.504 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01654/0.1292, allocations: 13.12 MB / 443.9 MB, free: 8.082 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1637/0.2929, allocations: 15.04 MB / 459 MB, free: 105.7 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004377/0.2933, allocations: 84.42 kB / 459.1 MB, free: 105.6 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001458/0.2948, allocations: 3.571 MB / 462.6 MB, free: 103.2 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004981/0.2953, allocations: 1.273 MB / 463.9 MB, free: 103 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005198/0.2958, allocations: 0.5196 MB / 464.4 MB, free: 102.8 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.182e-05/0.2958, allocations: 301.1 kB / 464.7 MB, free: 102.5 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001347/0.2972, allocations: 1.235 MB / 466 MB, free: 101.9 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001411/0.2986, allocations: 1.734 MB / 467.7 MB, free: 100.9 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002781/0.3014, allocations: 2.977 MB / 470.7 MB, free: 99.36 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/0.3014, allocations: 0 / 470.7 MB, free: 99.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=435) (initialization): time 0.005338/0.3067, allocations: 5.201 MB / 475.9 MB, free: 95.62 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.3067, allocations: 11.91 kB / 475.9 MB, free: 95.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.3067, allocations: 4 kB / 475.9 MB, free: 95.61 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002374/0.3091, allocations: 1.414 MB / 477.3 MB, free: 94.51 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001178/0.3103, allocations: 0.5312 MB / 477.8 MB, free: 94.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01295/0.3233, allocations: 22.53 MB / 0.4886 GB, free: 71.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001295/0.3246, allocations: 114.5 kB / 0.4887 GB, free: 71.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000132/0.3247, allocations: 116 kB / 0.4889 GB, free: 70.96 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 (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,3,100.0%), (1,4,100.0%), (1,3,100.0%), (1,4,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.001914/0.3266, allocations: 2.19 MB / 0.491 GB, free: 68.76 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003888/0.327, allocations: 0.8691 MB / 0.4918 GB, free: 67.89 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005282/0.3323, allocations: 5.254 MB / 0.497 GB, free: 62.62 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-05/0.3323, allocations: 39.97 kB / 0.497 GB, free: 62.58 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-06/0.3323, allocations: 4 kB / 0.497 GB, free: 62.58 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.703e-05/0.3323, allocations: 23.92 kB / 0.497 GB, free: 62.55 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008931/0.3412, allocations: 9.888 MB / 0.5067 GB, free: 52.69 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.647e-06/0.3412, allocations: 0 / 0.5067 GB, free: 52.69 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00103/0.3423, allocations: 455.5 kB / 0.5071 GB, free: 52.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00226/0.3445, allocations: 1.352 MB / 0.5084 GB, free: 50.87 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001351/0.3447, allocations: 73.58 kB / 0.5085 GB, free: 50.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0113/0.356, allocations: 20.44 MB / 0.5285 GB, free: 29.47 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01156/0.3675, allocations: 11.44 MB / 0.5397 GB, free: 17.82 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007159/0.3747, allocations: 6.922 MB / 0.5464 GB, free: 10.81 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006689/0.3754, allocations: 0.7349 MB / 0.5471 GB, free: 10.07 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003317/0.3757, allocations: 71.94 kB / 0.5472 GB, free: 10 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009497/0.3766, allocations: 95.95 kB / 0.5473 GB, free: 9.91 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000396/0.377, allocations: 287.3 kB / 0.5476 GB, free: 9.621 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001167/0.3772, allocations: 98.81 kB / 0.5477 GB, free: 9.527 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00653/0.3837, allocations: 11.2 MB / 0.5586 GB, free: 14.38 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.3837, allocations: 0 / 0.5586 GB, free: 14.38 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002237/0.3859, allocations: 1.096 MB / 0.5597 GB, free: 13.29 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 (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.0008542/0.3868, allocations: 0.5178 MB / 0.5602 GB, free: 12.92 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005014/0.3918, allocations: 4.59 MB / 0.5647 GB, free: 8.215 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3918, allocations: 0 / 0.5647 GB, free: 8.215 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002915/0.3947, allocations: 3.133 MB / 0.5677 GB, free: 4.973 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001704/0.3964, allocations: 0.5639 MB / 0.5683 GB, free: 4.422 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01754/0.4139, allocations: 18.39 MB / 0.5862 GB, free: 1.98 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002734/0.4167, allocations: 3.576 MB / 0.5897 GB, free: 14.35 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000796/0.4175, allocations: 196.4 kB / 0.5899 GB, free: 14.16 MB / 458.7 MB Notification: Performance of SimCode: time 1.382e-06/0.4175, allocations: 0 / 0.5899 GB, free: 14.16 MB / 458.7 MB Notification: Performance of Templates: time 1.067/1.485, allocations: 0.5513 GB / 1.141 GB, free: 166.9 MB / 490.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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 11.689372538588941]