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.001835/0.001835, allocations: 96.25 kB / 20.96 MB, free: 3.469 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.002118/0.002118, allocations: 160.9 kB / 24.27 MB, free: 168 kB / 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 1.481/1.481, allocations: 177 MB / 204.4 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 178] 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.893e-06/1.893e-06, allocations: 0 / 272.2 MB, free: 1.84 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.22e-05/3.409e-05, allocations: 2.312 kB / 272.2 MB, free: 1.836 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke): time 0.0157/0.01573, allocations: 9.87 MB / 282.1 MB, free: 7.918 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01036/0.02609, allocations: 3.81 MB / 285.9 MB, free: 4.094 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002736/0.02883, allocations: 43.81 kB / 285.9 MB, free: 4.051 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1408/0.1696, allocations: 8.157 MB / 294.1 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006366/0.176, allocations: 4.777 MB / 298.8 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002127/0.1781, allocations: 0.9267 MB / 299.8 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.008493/0.1866, allocations: 5.514 MB / 305.3 MB, free: 11.79 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001557/0.1881, allocations: 0.5527 MB / 305.8 MB, free: 11.52 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007291/0.1954, allocations: 3.593 MB / 309.4 MB, free: 9.641 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007152/0.2026, allocations: 5.488 MB / 314.9 MB, free: 4.473 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0011/0.2037, allocations: 356 kB / 315.3 MB, free: 4.125 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001507/0.2052, allocations: 409.6 kB / 315.7 MB, free: 3.73 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001281/0.2065, allocations: 1.935 MB / 317.6 MB, free: 1.828 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002498/0.209, allocations: 1.436 MB / 319 MB, free: 444 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01225/0.2212, allocations: 7.181 MB / 326.2 MB, free: 9.531 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.2212, allocations: 0.5625 kB / 326.2 MB, free: 9.531 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2212, allocations: 0 / 326.2 MB, free: 9.531 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0002475/0.2215, allocations: 0.5938 kB / 326.2 MB, free: 9.531 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: 532 * Number of variables: 532 Notification: Performance of Generate backend data structure: time 0.01634/0.2378, allocations: 7.853 MB / 334.1 MB, free: 1.629 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.891e-05/0.2379, allocations: 15.98 kB / 334.1 MB, free: 1.613 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002317/0.2402, allocations: 1.112 MB / 335.2 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006377/0.2465, allocations: 3.281 MB / 338.5 MB, free: 13.41 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002106/0.2468, allocations: 161.5 kB / 338.6 MB, free: 13.25 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005211/0.2473, allocations: 208 kB / 338.8 MB, free: 13.05 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005299/0.2526, allocations: 2.218 MB / 341.1 MB, free: 10.73 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.595e-05/0.2526, allocations: 7.312 kB / 341.1 MB, free: 10.73 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002175/0.2529, allocations: 91.98 kB / 341.2 MB, free: 10.64 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.194e-05/0.2529, allocations: 51.94 kB / 341.2 MB, free: 10.59 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004215/0.2571, allocations: 1.845 MB / 343.1 MB, free: 8.738 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01755/0.2747, allocations: 7.641 MB / 350.7 MB, free: 1.148 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004668/0.2793, allocations: 2.021 MB / 352.7 MB, free: 15.12 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003234/0.2826, allocations: 1.287 MB / 354 MB, free: 13.84 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000172/0.2828, allocations: 46.3 kB / 354.1 MB, free: 13.79 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00277/0.2855, allocations: 1.264 MB / 355.3 MB, free: 12.46 MB / 314.7 MB Notification: Performance of pre-optimization done (n=246): time 6.142e-06/0.2855, allocations: 0 / 355.3 MB, free: 12.46 MB / 314.7 MB Notification: Performance of matching and sorting (n=371): time 0.07813/0.3637, allocations: 22.32 MB / 377.6 MB, free: 6.184 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.03857/0.4022, allocations: 13.45 MB / 391.1 MB, free: 8.539 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02359/0.4258, allocations: 15.06 MB / 406.1 MB, free: 9.551 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005473/0.4264, allocations: 81.7 kB / 406.2 MB, free: 9.465 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004168/0.4305, allocations: 3.573 MB / 409.8 MB, free: 5.887 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001752/0.4323, allocations: 1.269 MB / 411.1 MB, free: 4.637 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00117/0.4335, allocations: 0.5235 MB / 411.6 MB, free: 4.105 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.4336, allocations: 305.1 kB / 411.9 MB, free: 3.805 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003055/0.4367, allocations: 1.225 MB / 413.1 MB, free: 2.578 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003415/0.4401, allocations: 1.743 MB / 414.9 MB, free: 0.7305 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006237/0.4463, allocations: 2.966 MB / 417.8 MB, free: 13.72 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.535e-05/0.4463, allocations: 4 kB / 417.8 MB, free: 13.71 MB / 378.7 MB Notification: Performance of matching and sorting (n=435) (initialization): time 0.01389/0.4602, allocations: 5.334 MB / 423.2 MB, free: 8.43 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.234e-05/0.4603, allocations: 11.94 kB / 423.2 MB, free: 8.418 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.359e-05/0.4603, allocations: 4 kB / 423.2 MB, free: 8.414 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0118/0.4721, allocations: 2.098 MB / 425.3 MB, free: 6.297 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003209/0.4753, allocations: 0.533 MB / 425.8 MB, free: 5.793 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1462/0.6215, allocations: 22.66 MB / 448.5 MB, free: 106 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003228/0.6247, allocations: 113 kB / 448.6 MB, free: 106 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004441/0.6252, allocations: 113.3 kB / 448.7 MB, free: 106 MB / 378.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.003421/0.6286, allocations: 2.199 MB / 450.9 MB, free: 105.5 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001324/0.6299, allocations: 0.9821 MB / 451.9 MB, free: 105.5 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01087/0.6408, allocations: 5.252 MB / 457.1 MB, free: 103.4 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.391e-05/0.6408, allocations: 38.94 kB / 457.2 MB, free: 103.4 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.981e-05/0.6408, allocations: 3.844 kB / 457.2 MB, free: 103.4 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.217e-05/0.6409, allocations: 21.59 kB / 457.2 MB, free: 103.4 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01658/0.6574, allocations: 9.96 MB / 467.1 MB, free: 98.58 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.678e-05/0.6575, allocations: 8 kB / 467.1 MB, free: 98.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002289/0.6598, allocations: 457.2 kB / 467.6 MB, free: 98.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009962/0.6697, allocations: 2.037 MB / 469.6 MB, free: 96.68 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007602/0.6705, allocations: 78.41 kB / 469.7 MB, free: 96.61 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02062/0.6911, allocations: 20.57 MB / 490.3 MB, free: 75.73 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.02461/0.7157, allocations: 11.77 MB / 0.4903 GB, free: 63.93 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01281/0.7285, allocations: 7.04 MB / 0.4972 GB, free: 56.84 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001402/0.7299, allocations: 0.7324 MB / 0.4979 GB, free: 56.1 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007732/0.7307, allocations: 70.53 kB / 0.4979 GB, free: 56.04 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002199/0.7329, allocations: 95.95 kB / 0.498 GB, free: 55.94 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000692/0.7336, allocations: 291.2 kB / 0.4983 GB, free: 55.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001933/0.7338, allocations: 95.97 kB / 0.4984 GB, free: 55.57 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.009723/0.7435, allocations: 11.2 MB / 0.5093 GB, free: 44.41 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.7435, allocations: 0 / 0.5093 GB, free: 44.41 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004423/0.7479, allocations: 1.09 MB / 0.5104 GB, free: 43.32 MB / 378.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.002273/0.7502, allocations: 0.5355 MB / 0.5109 GB, free: 43 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.006906/0.7571, allocations: 4.597 MB / 0.5154 GB, free: 38.29 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.633e-06/0.7571, allocations: 0 / 0.5154 GB, free: 38.29 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004352/0.7615, allocations: 3.146 MB / 0.5185 GB, free: 35.03 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003436/0.7649, allocations: 0.5779 MB / 0.5191 GB, free: 34.46 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02118/0.7861, allocations: 18.29 MB / 0.5369 GB, free: 16.06 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004258/0.7903, allocations: 3.572 MB / 0.5404 GB, free: 12.44 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.00213/0.7925, allocations: 313.1 kB / 0.5407 GB, free: 12.12 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008285/0.7933, allocations: 176.4 kB / 0.5409 GB, free: 11.95 MB / 378.7 MB Notification: Performance of SimCode: time 1.483e-06/0.7933, allocations: 0 / 0.5409 GB, free: 11.95 MB / 378.7 MB Notification: Performance of Templates: time 0.2689/1.062, allocations: 64.84 MB / 0.6042 GB, free: 103 MB / 394.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: 9.434114126022905]