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.00118/0.00118, allocations: 75.77 kB / 22.45 MB, free: 2.094 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.001176/0.001176, allocations: 158.9 kB / 25.74 MB, free: 8.953 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.8997/0.8997, allocations: 158.6 MB / 187.6 MB, free: 2.938 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.353e-06/1.353e-06, allocations: 0 / 251.1 MB, free: 7.805 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.028e-05/2.163e-05, allocations: 6.25 kB / 251.1 MB, free: 7.797 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke): time 0.008347/0.008368, allocations: 10.7 MB / 261.8 MB, free: 13.05 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004803/0.01317, allocations: 3.527 MB / 265.3 MB, free: 9.508 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006616/0.01383, allocations: 47.75 kB / 265.4 MB, free: 9.461 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005117/0.01895, allocations: 8.165 MB / 273.5 MB, free: 1.277 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003729/0.02268, allocations: 4.689 MB / 278.2 MB, free: 12.57 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001331/0.02401, allocations: 0.9282 MB / 279.2 MB, free: 11.64 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004031/0.02804, allocations: 5.408 MB / 284.6 MB, free: 6.215 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006458/0.02869, allocations: 0.5512 MB / 285.1 MB, free: 5.629 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002716/0.0314, allocations: 3.548 MB / 288.7 MB, free: 2.074 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003643/0.03505, allocations: 5.472 MB / 294.1 MB, free: 12.59 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003605/0.03541, allocations: 352 kB / 294.5 MB, free: 12.24 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004203/0.03583, allocations: 387.9 kB / 294.9 MB, free: 11.86 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001149/0.03698, allocations: 1.916 MB / 296.8 MB, free: 9.934 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000912/0.03789, allocations: 1.42 MB / 298.2 MB, free: 8.508 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002918/0.04081, allocations: 4.377 MB / 302.6 MB, free: 4.113 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.04081, allocations: 0 / 302.6 MB, free: 4.113 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.04081, allocations: 0 / 302.6 MB, free: 4.113 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.593e-05/0.04086, allocations: 0 / 302.6 MB, free: 4.113 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.006815/0.04767, allocations: 8.282 MB / 310.9 MB, free: 11.73 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.04771, allocations: 15.98 kB / 310.9 MB, free: 11.72 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007778/0.04849, allocations: 1.05 MB / 311.9 MB, free: 10.66 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002376/0.05086, allocations: 3.172 MB / 315.1 MB, free: 7.441 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.847e-05/0.05096, allocations: 164.4 kB / 315.3 MB, free: 7.277 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002063/0.05117, allocations: 208.3 kB / 315.5 MB, free: 7.074 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002159/0.05333, allocations: 1.657 MB / 317.1 MB, free: 5.312 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.703e-05/0.05338, allocations: 7.938 kB / 317.1 MB, free: 5.305 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001292/0.0535, allocations: 84 kB / 317.2 MB, free: 5.223 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.085e-05/0.05354, allocations: 48 kB / 317.3 MB, free: 5.176 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00185/0.05539, allocations: 0.9391 MB / 318.2 MB, free: 4.23 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008765/0.06415, allocations: 7.872 MB / 326.1 MB, free: 12.25 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001942/0.06609, allocations: 1.511 MB / 327.6 MB, free: 10.7 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001329/0.06742, allocations: 0.9324 MB / 328.5 MB, free: 9.762 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.965e-05/0.06752, allocations: 46.3 kB / 328.6 MB, free: 9.715 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001107/0.06863, allocations: 0.957 MB / 329.5 MB, free: 8.68 MB / 314.7 MB Notification: Performance of pre-optimization done (n=242): time 3.557e-06/0.06863, allocations: 0 / 329.5 MB, free: 8.68 MB / 314.7 MB Notification: Performance of matching and sorting (n=367): time 0.03164/0.1003, allocations: 18.6 MB / 348.1 MB, free: 5.887 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1308/0.2311, allocations: 10.94 MB / 359 MB, free: 95.61 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006864/0.2379, allocations: 9.683 MB / 368.7 MB, free: 92.01 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004174/0.2383, allocations: 93.09 kB / 368.8 MB, free: 91.91 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001942/0.2403, allocations: 3.978 MB / 372.8 MB, free: 88.52 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007743/0.2411, allocations: 1.256 MB / 374.1 MB, free: 88.21 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005595/0.2416, allocations: 0.5213 MB / 374.6 MB, free: 87.75 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.634e-05/0.2417, allocations: 480.5 kB / 375 MB, free: 87.28 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001058/0.2427, allocations: 0.5856 MB / 375.6 MB, free: 86.73 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001212/0.2439, allocations: 1.154 MB / 376.8 MB, free: 85.43 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00226/0.2462, allocations: 1.765 MB / 378.6 MB, free: 83.61 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.925e-06/0.2462, allocations: 0 / 378.6 MB, free: 83.61 MB / 330.7 MB Notification: Performance of matching and sorting (n=431) (initialization): time 0.005277/0.2515, allocations: 3.918 MB / 382.5 MB, free: 79.8 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/0.2515, allocations: 4 kB / 382.5 MB, free: 79.8 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.545e-05/0.2515, allocations: 8 kB / 382.5 MB, free: 79.79 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004537/0.256, allocations: 1.885 MB / 384.4 MB, free: 77.97 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001283/0.2573, allocations: 0.5294 MB / 384.9 MB, free: 77.46 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01368/0.271, allocations: 23.46 MB / 408.4 MB, free: 53.01 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001636/0.2727, allocations: 118 kB / 408.5 MB, free: 52.9 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001411/0.2728, allocations: 112 kB / 408.6 MB, free: 52.79 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,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.001142/0.2739, allocations: 330.4 kB / 408.9 MB, free: 52.46 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006826/0.2746, allocations: 0.9708 MB / 409.9 MB, free: 51.48 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005201/0.2798, allocations: 3.718 MB / 413.6 MB, free: 47.71 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.364e-05/0.2798, allocations: 37.83 kB / 413.6 MB, free: 47.67 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.285e-05/0.2798, allocations: 4 kB / 413.6 MB, free: 47.67 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.846e-05/0.2799, allocations: 15.94 kB / 413.6 MB, free: 47.65 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01035/0.2902, allocations: 9.048 MB / 422.7 MB, free: 38.61 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.436e-06/0.2902, allocations: 4 kB / 422.7 MB, free: 38.6 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001166/0.2914, allocations: 447.4 kB / 423.1 MB, free: 38.16 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004432/0.2958, allocations: 1.851 MB / 425 MB, free: 36.27 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001552/0.296, allocations: 75.98 kB / 425.1 MB, free: 36.2 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01185/0.3078, allocations: 21.77 MB / 446.8 MB, free: 13.35 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01195/0.3198, allocations: 9.696 MB / 456.5 MB, free: 3.391 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007279/0.3271, allocations: 4.81 MB / 461.3 MB, free: 14.46 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009214/0.328, allocations: 0.7188 MB / 462.1 MB, free: 13.74 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003622/0.3283, allocations: 64 kB / 462.1 MB, free: 13.68 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001039/0.3294, allocations: 104 kB / 462.2 MB, free: 13.57 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006033/0.33, allocations: 291.1 kB / 462.5 MB, free: 13.29 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001405/0.3301, allocations: 91.97 kB / 462.6 MB, free: 13.2 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.005746/0.3359, allocations: 6 MB / 468.6 MB, free: 7.254 MB / 346.7 MB Notification: Performance of sort global known variables: time 2e-07/0.3359, allocations: 0 / 468.6 MB, free: 7.254 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003205/0.3391, allocations: 1.081 MB / 469.7 MB, free: 6.176 MB / 346.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.001174/0.3402, allocations: 484.6 kB / 470.1 MB, free: 5.773 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00545/0.3457, allocations: 4.042 MB / 474.2 MB, free: 1.559 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3457, allocations: 0 / 474.2 MB, free: 1.559 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003521/0.3492, allocations: 3.18 MB / 477.4 MB, free: 14.21 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002212/0.3514, allocations: 0.5606 MB / 477.9 MB, free: 13.65 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1162/0.4676, allocations: 13.66 MB / 491.6 MB, free: 114.2 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001999/0.4696, allocations: 1.557 MB / 493.1 MB, free: 114 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001154/0.4708, allocations: 308.1 kB / 493.4 MB, free: 113.9 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000441/0.4712, allocations: 178.3 kB / 493.6 MB, free: 113.9 MB / 362.7 MB Notification: Performance of SimCode: time 1.012e-06/0.4712, allocations: 0 / 493.6 MB, free: 113.9 MB / 362.7 MB Notification: Performance of Templates: time 0.07233/0.5436, allocations: 66.13 MB / 0.5466 GB, free: 60.05 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.963081701193005]