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.0009913/0.0009913, allocations: 84.98 kB / 23 MB, free: 1.504 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.00143/0.00143, allocations: 171.6 kB / 26.39 MB, free: 8.004 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.9385/0.9385, allocations: 158.6 MB / 188.3 MB, free: 2.824 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.423e-06/1.423e-06, allocations: 0 / 252.3 MB, free: 7.266 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.506e-05/1.648e-05, allocations: 2.312 kB / 252.3 MB, free: 7.262 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke): time 0.01173/0.01175, allocations: 10.43 MB / 262.7 MB, free: 12.79 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00724/0.01899, allocations: 3.523 MB / 266.2 MB, free: 9.242 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00132/0.02031, allocations: 47.75 kB / 266.2 MB, free: 9.195 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006317/0.02662, allocations: 8.157 MB / 274.4 MB, free: 1.02 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004085/0.03071, allocations: 4.693 MB / 279.1 MB, free: 12.31 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001413/0.03212, allocations: 0.9398 MB / 280 MB, free: 11.37 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004529/0.03665, allocations: 5.407 MB / 285.4 MB, free: 5.949 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007696/0.03742, allocations: 0.5512 MB / 286 MB, free: 5.363 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003697/0.04112, allocations: 3.556 MB / 289.6 MB, free: 1.801 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003512/0.04463, allocations: 5.46 MB / 295 MB, free: 12.32 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003937/0.04502, allocations: 344 kB / 295.3 MB, free: 11.99 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000438/0.04546, allocations: 387.9 kB / 295.7 MB, free: 11.61 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009759/0.04644, allocations: 1.9 MB / 297.6 MB, free: 9.695 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008763/0.04731, allocations: 1.404 MB / 299 MB, free: 8.285 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002936/0.05025, allocations: 4.342 MB / 303.4 MB, free: 3.926 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.05025, allocations: 0 / 303.4 MB, free: 3.926 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.05025, allocations: 0 / 303.4 MB, free: 3.926 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.717e-05/0.05029, allocations: 3.938 kB / 303.4 MB, free: 3.922 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: 528 * Number of variables: 528 Notification: Performance of Generate backend data structure: time 0.006232/0.05652, allocations: 8.342 MB / 311.7 MB, free: 11.48 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.05656, allocations: 11.98 kB / 311.7 MB, free: 11.47 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006629/0.05722, allocations: 1.057 MB / 312.8 MB, free: 10.41 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002215/0.05943, allocations: 3.078 MB / 315.9 MB, free: 7.281 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.558e-05/0.05952, allocations: 156.5 kB / 316 MB, free: 7.125 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001946/0.05971, allocations: 212.4 kB / 316.2 MB, free: 6.918 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00151/0.06122, allocations: 1.52 MB / 317.7 MB, free: 5.293 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.11e-05/0.06126, allocations: 15.83 kB / 317.8 MB, free: 5.277 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001117/0.06138, allocations: 83.94 kB / 317.8 MB, free: 5.195 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.641e-05/0.0614, allocations: 52 kB / 317.9 MB, free: 5.145 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009526/0.06236, allocations: 0.7207 MB / 318.6 MB, free: 4.414 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007353/0.06971, allocations: 6.486 MB / 325.1 MB, free: 13.82 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001436/0.07114, allocations: 1.365 MB / 326.5 MB, free: 12.41 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009843/0.07213, allocations: 0.8347 MB / 327.3 MB, free: 11.57 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.098e-05/0.07222, allocations: 50.3 kB / 327.4 MB, free: 11.52 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007869/0.07301, allocations: 0.8903 MB / 328.2 MB, free: 10.55 MB / 314.7 MB Notification: Performance of pre-optimization done (n=242): time 3.496e-06/0.07301, allocations: 0 / 328.2 MB, free: 10.55 MB / 314.7 MB Notification: Performance of matching and sorting (n=367): time 0.02569/0.0987, allocations: 13.15 MB / 341.4 MB, free: 13.25 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01459/0.1133, allocations: 10.57 MB / 352 MB, free: 2.348 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1366/0.2499, allocations: 9.325 MB / 361.3 MB, free: 94.68 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005021/0.2504, allocations: 88.86 kB / 361.4 MB, free: 94.65 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003182/0.2535, allocations: 4.491 MB / 365.9 MB, free: 93.54 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008165/0.2544, allocations: 1.272 MB / 367.1 MB, free: 93.06 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007539/0.2551, allocations: 0.5376 MB / 367.7 MB, free: 92.82 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.395e-05/0.2552, allocations: 482.2 kB / 368.1 MB, free: 92.35 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001071/0.2562, allocations: 0.5183 MB / 368.7 MB, free: 92.15 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001263/0.2575, allocations: 1.087 MB / 369.8 MB, free: 91.07 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002104/0.2596, allocations: 1.559 MB / 371.3 MB, free: 89.55 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.878e-06/0.2596, allocations: 4 kB / 371.3 MB, free: 89.55 MB / 330.7 MB Notification: Performance of matching and sorting (n=431) (initialization): time 0.00582/0.2654, allocations: 3.642 MB / 375 MB, free: 86.4 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.706e-05/0.2654, allocations: 8 kB / 375 MB, free: 86.39 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.942e-05/0.2655, allocations: 7.156 kB / 375 MB, free: 86.39 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005439/0.2709, allocations: 1.843 MB / 376.8 MB, free: 85 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001631/0.2725, allocations: 0.5282 MB / 377.3 MB, free: 84.5 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01243/0.285, allocations: 22.84 MB / 400.2 MB, free: 60.82 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001359/0.2863, allocations: 118.6 kB / 400.3 MB, free: 60.7 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001257/0.2865, allocations: 91.33 kB / 400.4 MB, free: 60.62 MB / 330.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 (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,4,100.0%), (1,3,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.0009065/0.2874, allocations: 331.5 kB / 400.7 MB, free: 60.32 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005122/0.2879, allocations: 0.9707 MB / 401.7 MB, free: 59.34 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00404/0.2919, allocations: 3.424 MB / 405.1 MB, free: 55.88 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.577e-05/0.2919, allocations: 39.94 kB / 405.1 MB, free: 55.84 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.798e-06/0.2919, allocations: 4 kB / 405.1 MB, free: 55.84 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.948e-05/0.292, allocations: 19.94 kB / 405.2 MB, free: 55.82 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007882/0.2998, allocations: 7.472 MB / 412.6 MB, free: 48.26 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.336e-06/0.2998, allocations: 4.625 kB / 412.6 MB, free: 48.26 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001157/0.301, allocations: 447.4 kB / 413.1 MB, free: 47.82 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004346/0.3054, allocations: 1.811 MB / 414.9 MB, free: 45.97 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001443/0.3055, allocations: 75.97 kB / 415 MB, free: 45.89 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01075/0.3162, allocations: 21.21 MB / 436.2 MB, free: 23.67 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01048/0.3267, allocations: 9.351 MB / 445.5 MB, free: 14.06 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005566/0.3323, allocations: 4.397 MB / 449.9 MB, free: 9.539 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007666/0.3331, allocations: 0.7129 MB / 450.6 MB, free: 8.82 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003336/0.3334, allocations: 70.53 kB / 450.7 MB, free: 8.754 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009386/0.3343, allocations: 95.95 kB / 450.8 MB, free: 8.66 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004555/0.3348, allocations: 279.2 kB / 451.1 MB, free: 8.391 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001066/0.3349, allocations: 71.97 kB / 451.1 MB, free: 8.32 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.00299/0.3379, allocations: 5.35 MB / 456.5 MB, free: 3.02 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.4e-07/0.3379, allocations: 7.938 kB / 456.5 MB, free: 3.012 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002087/0.34, allocations: 1.074 MB / 457.6 MB, free: 1.938 MB / 330.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.0008558/0.3408, allocations: 499.1 kB / 458.1 MB, free: 1.516 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003364/0.3442, allocations: 3.812 MB / 461.9 MB, free: 13.53 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.3442, allocations: 4 kB / 461.9 MB, free: 13.53 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002643/0.3468, allocations: 3.042 MB / 464.9 MB, free: 10.32 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001691/0.3485, allocations: 0.5689 MB / 465.5 MB, free: 9.75 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01373/0.3623, allocations: 13.44 MB / 478.9 MB, free: 12.18 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001747/0.364, allocations: 1.557 MB / 480.5 MB, free: 10.59 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001097/0.3651, allocations: 296.8 kB / 480.8 MB, free: 10.3 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009954/0.3661, allocations: 0.5097 MB / 481.3 MB, free: 9.785 MB / 362.7 MB Notification: Performance of SimCode: time 1.673e-06/0.3661, allocations: 0 / 481.3 MB, free: 9.785 MB / 362.7 MB Notification: Performance of Templates: time 0.184/0.5501, allocations: 71.19 MB / 0.5395 GB, free: 62.65 MB / 362.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=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.360792266204953]