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.001444/0.001444, allocations: 85.91 kB / 22.22 MB, free: 2.285 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.001494/0.001494, allocations: 154.4 kB / 25.61 MB, free: 8.578 MB / 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 0.9127/0.9127, allocations: 177 MB / 205.9 MB, free: 4.461 MB / 186.7 MB " [Timeout remaining time 179] 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.212e-06/1.212e-06, allocations: 0 / 274.1 MB, free: 4.305 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.061e-05/1.182e-05, allocations: 6.25 kB / 274.1 MB, free: 4.297 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke): time 0.02225/0.02227, allocations: 10.84 MB / 284.9 MB, free: 9.418 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01189/0.03416, allocations: 3.827 MB / 288.8 MB, free: 5.586 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000918/0.03508, allocations: 47.75 kB / 288.8 MB, free: 5.539 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01575/0.05083, allocations: 8.165 MB / 297 MB, free: 13.35 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003992/0.05482, allocations: 4.786 MB / 301.8 MB, free: 8.555 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00144/0.05626, allocations: 0.9319 MB / 302.7 MB, free: 7.621 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002953/0.05921, allocations: 5.511 MB / 308.2 MB, free: 2.094 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006146/0.05983, allocations: 0.5554 MB / 308.8 MB, free: 1.508 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00237/0.0622, allocations: 3.614 MB / 312.4 MB, free: 13.89 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003431/0.06563, allocations: 5.495 MB / 317.9 MB, free: 8.375 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003123/0.06594, allocations: 352 kB / 318.2 MB, free: 8.031 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000392/0.06634, allocations: 395.9 kB / 318.6 MB, free: 7.645 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008332/0.06717, allocations: 1.927 MB / 320.5 MB, free: 5.703 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008362/0.068, allocations: 1.432 MB / 322 MB, free: 4.266 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00278/0.07078, allocations: 4.42 MB / 326.4 MB, free: 15.83 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.07079, allocations: 0 / 326.4 MB, free: 15.83 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.07079, allocations: 0 / 326.4 MB, free: 15.83 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.768e-05/0.07082, allocations: 3.938 kB / 326.4 MB, free: 15.82 MB / 314.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.006167/0.07698, allocations: 8.452 MB / 334.8 MB, free: 7.273 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.874e-05/0.07701, allocations: 8.031 kB / 334.9 MB, free: 7.266 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008838/0.0779, allocations: 1.112 MB / 336 MB, free: 6.148 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002359/0.08026, allocations: 3.123 MB / 339.1 MB, free: 2.977 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.86e-05/0.08034, allocations: 160.5 kB / 339.2 MB, free: 2.816 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001913/0.08054, allocations: 211.9 kB / 339.5 MB, free: 2.609 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001487/0.08202, allocations: 1.505 MB / 341 MB, free: 1 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.153e-05/0.08206, allocations: 3.984 kB / 341 MB, free: 0.9961 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001235/0.08219, allocations: 88 kB / 341 MB, free: 0.9102 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.576e-05/0.08221, allocations: 48 kB / 341.1 MB, free: 0.8633 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009518/0.08317, allocations: 0.7247 MB / 341.8 MB, free: 132 kB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1131/0.1962, allocations: 6.477 MB / 348.3 MB, free: 65.86 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002086/0.1983, allocations: 1.361 MB / 349.7 MB, free: 65.47 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001183/0.1995, allocations: 0.8446 MB / 350.5 MB, free: 65.34 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.017e-05/0.1996, allocations: 48.55 kB / 350.5 MB, free: 65.34 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009007/0.2005, allocations: 0.8903 MB / 351.4 MB, free: 64.94 MB / 314.7 MB Notification: Performance of pre-optimization done (n=246): time 5.821e-06/0.2005, allocations: 0.7812 kB / 351.4 MB, free: 64.94 MB / 314.7 MB Notification: Performance of matching and sorting (n=371): time 0.02878/0.2293, allocations: 12.86 MB / 364.3 MB, free: 55.42 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01229/0.2416, allocations: 10.64 MB / 374.9 MB, free: 44.65 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004978/0.2465, allocations: 9.317 MB / 384.3 MB, free: 35.45 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001463/0.2467, allocations: 89.69 kB / 384.3 MB, free: 35.36 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002096/0.2488, allocations: 4.552 MB / 388.9 MB, free: 30.88 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005018/0.2493, allocations: 1.28 MB / 390.2 MB, free: 29.75 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005389/0.2498, allocations: 0.5424 MB / 390.7 MB, free: 29.2 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 3.155e-05/0.2499, allocations: 484.8 kB / 391.2 MB, free: 28.72 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007762/0.2506, allocations: 0.514 MB / 391.7 MB, free: 28.2 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009598/0.2516, allocations: 1.088 MB / 392.8 MB, free: 26.97 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001532/0.2531, allocations: 1.574 MB / 394.4 MB, free: 25.31 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/0.2531, allocations: 0 / 394.4 MB, free: 25.31 MB / 314.7 MB Notification: Performance of matching and sorting (n=435) (initialization): time 0.004209/0.2573, allocations: 3.675 MB / 398 MB, free: 21.59 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.2574, allocations: 8 kB / 398.1 MB, free: 21.58 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/0.2574, allocations: 8 kB / 398.1 MB, free: 21.57 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004239/0.2616, allocations: 1.875 MB / 399.9 MB, free: 19.66 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001201/0.2628, allocations: 0.5227 MB / 400.5 MB, free: 19.14 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0111/0.2739, allocations: 22.87 MB / 423.3 MB, free: 11.25 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001253/0.2752, allocations: 106.6 kB / 423.4 MB, free: 11.15 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001366/0.2753, allocations: 83.97 kB / 423.5 MB, free: 11.07 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 (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,4,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.000792/0.2761, allocations: 334.8 kB / 423.8 MB, free: 10.73 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006594/0.2767, allocations: 0.9863 MB / 424.8 MB, free: 9.738 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004483/0.2812, allocations: 3.443 MB / 428.3 MB, free: 6.238 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-05/0.2812, allocations: 36.09 kB / 428.3 MB, free: 6.203 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.2813, allocations: 4 kB / 428.3 MB, free: 6.199 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.149e-05/0.2813, allocations: 27.91 kB / 428.3 MB, free: 6.172 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009054/0.2903, allocations: 7.541 MB / 435.9 MB, free: 14.55 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.754e-06/0.2903, allocations: 4 kB / 435.9 MB, free: 14.54 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00118/0.2915, allocations: 447.5 kB / 436.3 MB, free: 14.11 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005236/0.2968, allocations: 1.827 MB / 438.2 MB, free: 12.24 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001298/0.2969, allocations: 75.97 kB / 438.2 MB, free: 12.16 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01311/0.31, allocations: 21.25 MB / 459.5 MB, free: 5.891 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01182/0.3218, allocations: 9.41 MB / 468.9 MB, free: 12.22 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005375/0.3272, allocations: 4.419 MB / 473.3 MB, free: 7.688 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008833/0.3281, allocations: 0.7324 MB / 474 MB, free: 6.949 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003425/0.3284, allocations: 70.62 kB / 474.1 MB, free: 6.883 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009096/0.3293, allocations: 95.95 kB / 474.2 MB, free: 6.789 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004088/0.3297, allocations: 283.2 kB / 474.5 MB, free: 6.504 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001203/0.3299, allocations: 79.91 kB / 474.6 MB, free: 6.426 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.003885/0.3337, allocations: 5.409 MB / 480 MB, free: 1.07 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3337, allocations: 0 / 480 MB, free: 1.07 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.1133/0.447, allocations: 1.095 MB / 481.1 MB, free: 107 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.00146/0.4485, allocations: 494.2 kB / 481.5 MB, free: 106.8 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004702/0.4532, allocations: 3.795 MB / 485.3 MB, free: 105.1 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.4532, allocations: 4.672 kB / 485.3 MB, free: 105.1 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002732/0.4559, allocations: 3.061 MB / 488.4 MB, free: 103.5 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0026/0.4585, allocations: 0.5768 MB / 489 MB, free: 103.4 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02352/0.482, allocations: 13.56 MB / 0.4908 GB, free: 98.1 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001869/0.4839, allocations: 1.577 MB / 0.4923 GB, free: 97.61 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.004127/0.488, allocations: 306.8 kB / 0.4926 GB, free: 97.39 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001072/0.4891, allocations: 0.5262 MB / 0.4931 GB, free: 96.96 MB / 378.7 MB Notification: Performance of SimCode: time 7.71e-07/0.4891, allocations: 0 / 0.4931 GB, free: 96.96 MB / 378.7 MB Notification: Performance of Templates: time 0.07419/0.5633, allocations: 72.54 MB / 0.5639 GB, free: 29.35 MB / 378.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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.pipe 2>&1) [Timeout 240] 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","",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.122659654356539]