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.001005/0.001005, allocations: 84.39 kB / 22.21 MB, free: 2.289 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.0009881/0.0009881, allocations: 167.2 kB / 25.6 MB, free: 8.887 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.8985/0.8985, allocations: 158.6 MB / 187.5 MB, free: 2.816 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.332e-06/1.332e-06, allocations: 0 / 251.5 MB, free: 7.258 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.198e-05/1.332e-05, allocations: 2.312 kB / 251.5 MB, free: 7.254 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke): time 0.007869/0.007882, allocations: 10.43 MB / 261.9 MB, free: 12.77 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006542/0.01442, allocations: 3.53 MB / 265.4 MB, free: 9.223 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002228/0.01665, allocations: 43.75 kB / 265.5 MB, free: 9.18 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006185/0.02284, allocations: 8.149 MB / 273.6 MB, free: 1.012 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0057/0.02854, allocations: 4.7 MB / 278.3 MB, free: 12.3 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002432/0.03097, allocations: 0.936 MB / 279.3 MB, free: 11.36 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.006434/0.0374, allocations: 5.403 MB / 284.7 MB, free: 5.941 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001211/0.03861, allocations: 0.5473 MB / 285.2 MB, free: 5.359 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006184/0.0448, allocations: 3.556 MB / 288.8 MB, free: 1.797 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006443/0.05124, allocations: 5.46 MB / 294.2 MB, free: 12.32 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008913/0.05213, allocations: 344 kB / 294.6 MB, free: 11.98 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000929/0.05306, allocations: 384 kB / 294.9 MB, free: 11.61 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001246/0.05431, allocations: 1.908 MB / 296.8 MB, free: 9.688 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001668/0.05597, allocations: 1.393 MB / 298.2 MB, free: 8.289 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004393/0.06037, allocations: 4.354 MB / 302.6 MB, free: 3.918 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.06037, allocations: 0 / 302.6 MB, free: 3.918 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.06038, allocations: 0 / 302.6 MB, free: 3.918 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001711/0.06055, allocations: 0 / 302.6 MB, free: 3.918 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.009323/0.06987, allocations: 8.342 MB / 310.9 MB, free: 11.48 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.06992, allocations: 15.98 kB / 310.9 MB, free: 11.46 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001079/0.071, allocations: 1.05 MB / 312 MB, free: 10.41 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003023/0.07402, allocations: 3.086 MB / 315.1 MB, free: 7.273 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001188/0.07414, allocations: 156.5 kB / 315.2 MB, free: 7.117 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000254/0.07439, allocations: 208.4 kB / 315.4 MB, free: 6.914 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002259/0.07665, allocations: 1.52 MB / 317 MB, free: 5.289 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.825e-05/0.0767, allocations: 11.89 kB / 317 MB, free: 5.277 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001442/0.07684, allocations: 87.98 kB / 317.1 MB, free: 5.191 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.756e-05/0.07688, allocations: 52 kB / 317.1 MB, free: 5.141 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001332/0.07821, allocations: 0.7207 MB / 317.8 MB, free: 4.41 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01097/0.08918, allocations: 6.486 MB / 324.3 MB, free: 13.82 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001962/0.09114, allocations: 1.368 MB / 325.7 MB, free: 12.41 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001103/0.09225, allocations: 0.8386 MB / 326.5 MB, free: 11.56 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001163/0.09236, allocations: 58.28 kB / 326.6 MB, free: 11.5 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001294/0.09366, allocations: 0.8903 MB / 327.5 MB, free: 10.54 MB / 314.7 MB Notification: Performance of pre-optimization done (n=242): time 6.512e-06/0.09366, allocations: 0 / 327.5 MB, free: 10.54 MB / 314.7 MB Notification: Performance of matching and sorting (n=367): time 0.04512/0.1388, allocations: 13.15 MB / 340.6 MB, free: 13.24 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01441/0.1532, allocations: 10.58 MB / 351.2 MB, free: 2.328 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1309/0.2841, allocations: 9.33 MB / 360.5 MB, free: 94.79 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004221/0.2845, allocations: 84.8 kB / 360.6 MB, free: 94.76 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002445/0.287, allocations: 4.495 MB / 365.1 MB, free: 93.62 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009471/0.2879, allocations: 1.268 MB / 366.4 MB, free: 93.14 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006264/0.2885, allocations: 0.5392 MB / 366.9 MB, free: 92.89 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.205e-05/0.2886, allocations: 480.4 kB / 367.4 MB, free: 92.42 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008774/0.2894, allocations: 0.5162 MB / 367.9 MB, free: 92.16 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009824/0.2904, allocations: 1.096 MB / 369 MB, free: 91.07 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001696/0.2921, allocations: 1.553 MB / 370.5 MB, free: 89.55 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.863e-06/0.2921, allocations: 0 / 370.5 MB, free: 89.55 MB / 330.7 MB Notification: Performance of matching and sorting (n=431) (initialization): time 0.005054/0.2972, allocations: 3.649 MB / 374.2 MB, free: 86.41 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.2972, allocations: 4 kB / 374.2 MB, free: 86.4 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.463e-05/0.2972, allocations: 11.75 kB / 374.2 MB, free: 86.39 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004096/0.3013, allocations: 1.842 MB / 376 MB, free: 84.98 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001155/0.3025, allocations: 0.5227 MB / 376.6 MB, free: 84.49 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01081/0.3133, allocations: 22.86 MB / 399.4 MB, free: 60.79 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001748/0.315, allocations: 113.2 kB / 399.5 MB, free: 60.68 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001366/0.3152, allocations: 87.33 kB / 399.6 MB, free: 60.59 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.001058/0.3162, allocations: 333.9 kB / 399.9 MB, free: 60.29 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005569/0.3168, allocations: 0.974 MB / 400.9 MB, free: 59.31 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003969/0.3207, allocations: 3.413 MB / 404.3 MB, free: 55.86 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-05/0.3208, allocations: 39.94 kB / 404.4 MB, free: 55.82 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.395e-06/0.3208, allocations: 4 kB / 404.4 MB, free: 55.81 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.93e-05/0.3208, allocations: 27.92 kB / 404.4 MB, free: 55.79 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007894/0.3287, allocations: 7.475 MB / 411.9 MB, free: 48.23 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.544e-06/0.3287, allocations: 0 / 411.9 MB, free: 48.23 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001088/0.3298, allocations: 451.4 kB / 412.3 MB, free: 47.79 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004038/0.3338, allocations: 1.808 MB / 414.1 MB, free: 45.94 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001618/0.334, allocations: 79.91 kB / 414.2 MB, free: 45.86 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009552/0.3435, allocations: 21.22 MB / 435.4 MB, free: 23.63 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.009816/0.3534, allocations: 9.352 MB / 444.8 MB, free: 14.02 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005391/0.3587, allocations: 4.389 MB / 449.2 MB, free: 9.504 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001033/0.3598, allocations: 0.7168 MB / 449.9 MB, free: 8.781 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003416/0.3601, allocations: 64 kB / 449.9 MB, free: 8.719 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008909/0.361, allocations: 95.95 kB / 450 MB, free: 8.625 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00047/0.3615, allocations: 283.2 kB / 450.3 MB, free: 8.352 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001061/0.3616, allocations: 71.97 kB / 450.4 MB, free: 8.281 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.003303/0.3649, allocations: 5.346 MB / 455.7 MB, free: 2.984 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.3649, allocations: 4 kB / 455.7 MB, free: 2.98 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002888/0.3678, allocations: 1.081 MB / 456.8 MB, free: 1.902 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.001035/0.3688, allocations: 488.4 kB / 457.3 MB, free: 1.488 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003994/0.3728, allocations: 3.812 MB / 461.1 MB, free: 13.5 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.3728, allocations: 8 kB / 461.1 MB, free: 13.5 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002547/0.3754, allocations: 3.048 MB / 464.2 MB, free: 10.28 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002035/0.3774, allocations: 0.5672 MB / 464.7 MB, free: 9.719 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0152/0.3926, allocations: 13.45 MB / 478.2 MB, free: 12.14 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001506/0.3941, allocations: 1.556 MB / 479.7 MB, free: 10.55 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0013/0.3954, allocations: 296.8 kB / 480 MB, free: 10.26 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009525/0.3963, allocations: 0.5097 MB / 480.5 MB, free: 9.746 MB / 362.7 MB Notification: Performance of SimCode: time 1.934e-06/0.3963, allocations: 0 / 480.5 MB, free: 9.746 MB / 362.7 MB Notification: Performance of Templates: time 0.1899/0.5863, allocations: 69.85 MB / 0.5375 GB, free: 64.06 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: 5.850760095752776]