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.001852/0.001852, allocations: 89.14 kB / 20.68 MB, free: 1.023 MB / 14.72 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.002354/0.002354, allocations: 159.2 kB / 23.95 MB, free: 4.152 MB / 14.72 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.486/1.486, allocations: 177 MB / 204.1 MB, free: 9.141 MB / 190.1 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 2.755e-06/2.755e-06, allocations: 1.734 kB / 325 MB, free: 0.5 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.413e-05/2.688e-05, allocations: 6.219 kB / 325 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke): time 0.0135/0.01352, allocations: 9.873 MB / 334.9 MB, free: 9.754 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009004/0.02253, allocations: 3.815 MB / 338.7 MB, free: 6.707 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002841/0.02537, allocations: 47.31 kB / 338.7 MB, free: 6.691 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01082/0.03619, allocations: 8.166 MB / 346.9 MB, free: 15.11 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009425/0.04562, allocations: 4.782 MB / 351.7 MB, free: 10.31 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003681/0.0493, allocations: 0.9281 MB / 352.6 MB, free: 9.383 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.008945/0.05824, allocations: 5.523 MB / 358.1 MB, free: 3.844 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001775/0.06002, allocations: 0.5515 MB / 358.7 MB, free: 3.27 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007588/0.0676, allocations: 3.587 MB / 362.3 MB, free: 15.68 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008135/0.07574, allocations: 5.484 MB / 367.8 MB, free: 10.18 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001132/0.07687, allocations: 356 kB / 368.1 MB, free: 9.828 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001486/0.07836, allocations: 403.9 kB / 368.5 MB, free: 9.434 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002002/0.08036, allocations: 1.935 MB / 370.4 MB, free: 7.484 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002636/0.083, allocations: 1.443 MB / 371.9 MB, free: 6.035 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009319/0.09231, allocations: 7.167 MB / 379.1 MB, free: 14.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.09232, allocations: 0 / 379.1 MB, free: 14.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.09232, allocations: 0 / 379.1 MB, free: 14.84 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002232/0.09254, allocations: 3.938 kB / 379.1 MB, free: 14.84 MB / 350.1 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.01596/0.1085, allocations: 7.866 MB / 386.9 MB, free: 6.883 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.1086, allocations: 15.98 kB / 386.9 MB, free: 6.867 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002277/0.1108, allocations: 0.948 MB / 387.9 MB, free: 5.914 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006079/0.1169, allocations: 3.229 MB / 391.1 MB, free: 2.629 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002112/0.1171, allocations: 156.5 kB / 391.3 MB, free: 2.473 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007138/0.1178, allocations: 215.9 kB / 391.5 MB, free: 2.262 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005472/0.1233, allocations: 2.222 MB / 393.7 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.289e-05/0.1234, allocations: 7.953 kB / 393.7 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002887/0.1237, allocations: 84 kB / 393.8 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.967e-05/0.1237, allocations: 52 kB / 393.8 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004472/0.1282, allocations: 1.841 MB / 395.7 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01673/0.1449, allocations: 7.575 MB / 403.3 MB, free: 6.27 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004213/0.1491, allocations: 2.024 MB / 405.3 MB, free: 4.223 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002951/0.1521, allocations: 1.284 MB / 406.6 MB, free: 2.938 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001431/0.1522, allocations: 34.31 kB / 406.6 MB, free: 2.902 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00241/0.1546, allocations: 1.266 MB / 407.9 MB, free: 1.57 MB / 366.1 MB Notification: Performance of pre-optimization done (n=246): time 6.573e-06/0.1547, allocations: 0 / 407.9 MB, free: 1.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=371): time 0.07495/0.2296, allocations: 22.2 MB / 430.1 MB, free: 11.2 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.03406/0.2637, allocations: 13.13 MB / 443.2 MB, free: 13.77 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02221/0.2859, allocations: 15.05 MB / 458.2 MB, free: 14.8 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005619/0.2864, allocations: 85.7 kB / 458.3 MB, free: 14.71 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004325/0.2908, allocations: 3.567 MB / 461.9 MB, free: 11.13 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001639/0.2924, allocations: 1.274 MB / 463.2 MB, free: 9.844 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001553/0.2939, allocations: 0.5197 MB / 463.7 MB, free: 9.316 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.2941, allocations: 301.1 kB / 464 MB, free: 9.02 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002962/0.2971, allocations: 1.233 MB / 465.2 MB, free: 7.785 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003365/0.3004, allocations: 1.732 MB / 466.9 MB, free: 5.941 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006248/0.3067, allocations: 2.976 MB / 469.9 MB, free: 2.898 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.577e-05/0.3067, allocations: 4 kB / 469.9 MB, free: 2.895 MB / 430.1 MB Notification: Performance of matching and sorting (n=435) (initialization): time 0.1701/0.4767, allocations: 5.198 MB / 475.1 MB, free: 122.8 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.249e-05/0.4768, allocations: 7.906 kB / 475.1 MB, free: 122.8 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.328e-05/0.4768, allocations: 8.891 kB / 475.1 MB, free: 122.8 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006247/0.4831, allocations: 1.415 MB / 476.5 MB, free: 122.7 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003063/0.4861, allocations: 0.5292 MB / 477.1 MB, free: 122.7 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02625/0.5124, allocations: 22.53 MB / 499.6 MB, free: 107.7 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003172/0.5155, allocations: 114.9 kB / 499.7 MB, free: 107.6 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005176/0.5161, allocations: 109.5 kB / 499.8 MB, free: 107.6 MB / 430.1 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.003223/0.5193, allocations: 2.2 MB / 0.4903 GB, free: 107 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001112/0.5204, allocations: 0.8701 MB / 0.4911 GB, free: 107 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0106/0.531, allocations: 5.256 MB / 0.4962 GB, free: 104.2 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.095e-05/0.531, allocations: 38.44 kB / 0.4963 GB, free: 104.2 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.942e-05/0.531, allocations: 4 kB / 0.4963 GB, free: 104.2 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.183e-05/0.5311, allocations: 21.77 kB / 0.4963 GB, free: 104.2 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0168/0.5479, allocations: 9.874 MB / 0.5059 GB, free: 94.49 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.257e-05/0.5479, allocations: 2.5 kB / 0.5059 GB, free: 94.49 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00223/0.5501, allocations: 455.4 kB / 0.5064 GB, free: 94.04 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005238/0.5553, allocations: 1.349 MB / 0.5077 GB, free: 92.68 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002568/0.5556, allocations: 83.97 kB / 0.5078 GB, free: 92.6 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0214/0.577, allocations: 20.43 MB / 0.5277 GB, free: 71.55 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.02341/0.6004, allocations: 11.45 MB / 0.5389 GB, free: 60 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0136/0.614, allocations: 6.926 MB / 0.5457 GB, free: 52.98 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001482/0.6155, allocations: 0.7335 MB / 0.5464 GB, free: 52.25 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001038/0.6165, allocations: 69.41 kB / 0.5465 GB, free: 52.18 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002622/0.6192, allocations: 98.03 kB / 0.5466 GB, free: 52.09 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007517/0.6199, allocations: 291.2 kB / 0.5468 GB, free: 51.8 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000233/0.6201, allocations: 95.97 kB / 0.5469 GB, free: 51.7 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.01181/0.6319, allocations: 11.2 MB / 0.5579 GB, free: 40.55 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6319, allocations: 0 / 0.5579 GB, free: 40.55 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004107/0.6361, allocations: 1.095 MB / 0.5589 GB, free: 39.46 MB / 430.1 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.001889/0.6379, allocations: 0.5228 MB / 0.5594 GB, free: 39.09 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.007131/0.6451, allocations: 4.592 MB / 0.5639 GB, free: 34.38 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.89e-06/0.6451, allocations: 0 / 0.5639 GB, free: 34.38 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004252/0.6493, allocations: 3.127 MB / 0.567 GB, free: 31.15 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004544/0.6539, allocations: 0.5559 MB / 0.5675 GB, free: 30.6 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02361/0.6775, allocations: 18.07 MB / 0.5852 GB, free: 12.5 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003873/0.6814, allocations: 3.572 MB / 0.5887 GB, free: 8.879 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002063/0.6834, allocations: 309.2 kB / 0.5889 GB, free: 8.57 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009006/0.6843, allocations: 172.5 kB / 0.5891 GB, free: 8.402 MB / 430.1 MB Notification: Performance of SimCode: time 1.322e-06/0.6843, allocations: 4 kB / 0.5891 GB, free: 8.398 MB / 430.1 MB Notification: Performance of Templates: time 0.2926/0.9769, allocations: 64.54 MB / 0.6521 GB, free: 156.7 MB / 478.1 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.704009413719177]