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.001564/0.001564, allocations: 109.1 kB / 21.18 MB, free: 0.7656 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.001881/0.001881, allocations: 213.7 kB / 24.5 MB, free: 4.148 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.458/1.458, allocations: 230.5 MB / 258.1 MB, free: 8.012 MB / 206.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 0.002042/0.002042, allocations: 68.12 kB / 379 MB, free: 2.523 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2501/0.2521, allocations: 53.42 MB / 432.4 MB, free: 6.77 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke): time 0.01592/0.268, allocations: 11.46 MB / 443.9 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008703/0.2767, allocations: 3.896 MB / 447.8 MB, free: 7.352 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002201/0.2789, allocations: 47.75 kB / 447.8 MB, free: 7.305 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009449/0.2884, allocations: 8.151 MB / 456 MB, free: 15.14 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007648/0.296, allocations: 4.737 MB / 460.7 MB, free: 10.39 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002733/0.2987, allocations: 0.9244 MB / 461.7 MB, free: 9.465 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007678/0.3064, allocations: 5.408 MB / 467.1 MB, free: 4.043 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001513/0.3079, allocations: 0.6023 MB / 467.7 MB, free: 3.41 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004895/0.3128, allocations: 2.934 MB / 470.6 MB, free: 480 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007817/0.3206, allocations: 5.829 MB / 476.4 MB, free: 10.62 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001142/0.3218, allocations: 360 kB / 476.8 MB, free: 10.27 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001468/0.3233, allocations: 403.8 kB / 477.2 MB, free: 9.875 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002112/0.3254, allocations: 1.888 MB / 479.1 MB, free: 7.973 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004163/0.3295, allocations: 2.846 MB / 481.9 MB, free: 5.105 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009348/0.3389, allocations: 7.436 MB / 489.4 MB, free: 13.64 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.3389, allocations: 0 / 489.4 MB, free: 13.64 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.3389, allocations: 0 / 489.4 MB, free: 13.64 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003038/0.3392, allocations: 0 / 489.4 MB, free: 13.64 MB / 398.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.01591/0.3551, allocations: 7.956 MB / 497.3 MB, free: 5.59 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.3551, allocations: 12.03 kB / 497.3 MB, free: 5.578 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002374/0.3575, allocations: 0.9519 MB / 498.3 MB, free: 4.621 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006056/0.3636, allocations: 3.23 MB / 0.4897 GB, free: 1.34 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002113/0.3638, allocations: 160.1 kB / 0.4899 GB, free: 1.18 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006436/0.3644, allocations: 211.9 kB / 0.4901 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004686/0.3691, allocations: 2.089 MB / 0.4921 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.468e-05/0.3692, allocations: 15.92 kB / 0.4922 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001988/0.3694, allocations: 84 kB / 0.4922 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-05/0.3694, allocations: 52 kB / 0.4923 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003897/0.3733, allocations: 1.848 MB / 0.4941 GB, free: 12.81 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01726/0.3906, allocations: 8.869 MB / 0.5028 GB, free: 3.742 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003948/0.3945, allocations: 2.022 MB / 0.5047 GB, free: 1.695 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002762/0.3973, allocations: 1.276 MB / 0.506 GB, free: 424 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001525/0.3974, allocations: 34.28 kB / 0.506 GB, free: 388 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00224/0.3997, allocations: 1.136 MB / 0.5071 GB, free: 15.21 MB / 430.1 MB Notification: Performance of pre-optimization done (n=246): time 5.29e-06/0.3997, allocations: 0 / 0.5071 GB, free: 15.21 MB / 430.1 MB Notification: Performance of matching and sorting (n=371): time 0.07159/0.4713, allocations: 22.21 MB / 0.5288 GB, free: 8.844 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.2491/0.7204, allocations: 13.46 MB / 0.5419 GB, free: 94.15 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01501/0.7354, allocations: 15.04 MB / 0.5566 GB, free: 88.26 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005377/0.7359, allocations: 90.52 kB / 0.5567 GB, free: 88.17 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002633/0.7386, allocations: 3.794 MB / 0.5604 GB, free: 84.95 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001163/0.7397, allocations: 1.281 MB / 0.5617 GB, free: 84.65 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008604/0.7406, allocations: 0.5266 MB / 0.5622 GB, free: 84.18 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.625e-05/0.7406, allocations: 301.9 kB / 0.5625 GB, free: 83.89 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00205/0.7427, allocations: 1.226 MB / 0.5637 GB, free: 82.77 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002229/0.7449, allocations: 1.605 MB / 0.5652 GB, free: 81.24 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004223/0.7491, allocations: 2.966 MB / 0.5681 GB, free: 78.26 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-05/0.7491, allocations: 3.75 kB / 0.5681 GB, free: 78.26 MB / 446.1 MB Notification: Performance of matching and sorting (n=435) (initialization): time 0.009854/0.759, allocations: 5.199 MB / 0.5732 GB, free: 73.12 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.63e-05/0.759, allocations: 8 kB / 0.5732 GB, free: 73.11 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.755e-05/0.759, allocations: 4 kB / 0.5732 GB, free: 73.11 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005169/0.7642, allocations: 1.41 MB / 0.5746 GB, free: 71.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00269/0.7669, allocations: 0.5264 MB / 0.5751 GB, free: 71.19 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0228/0.7897, allocations: 23.13 MB / 0.5977 GB, free: 47.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003355/0.793, allocations: 113.9 kB / 0.5978 GB, free: 47.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004471/0.7935, allocations: 108 kB / 0.5979 GB, free: 46.97 MB / 446.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.002769/0.7963, allocations: 2.201 MB / 0.6001 GB, free: 44.76 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009442/0.7972, allocations: 0.8732 MB / 0.6009 GB, free: 43.88 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01018/0.8074, allocations: 5.238 MB / 0.606 GB, free: 38.6 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.462e-05/0.8074, allocations: 36 kB / 0.6061 GB, free: 38.57 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-05/0.8074, allocations: 4 kB / 0.6061 GB, free: 38.56 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.895e-05/0.8075, allocations: 26.66 kB / 0.6061 GB, free: 38.54 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01761/0.8251, allocations: 10.94 MB / 0.6168 GB, free: 27.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-05/0.8251, allocations: 4 kB / 0.6168 GB, free: 27.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00235/0.8274, allocations: 447.4 kB / 0.6172 GB, free: 27.11 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005258/0.8327, allocations: 1.353 MB / 0.6185 GB, free: 25.73 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004198/0.8331, allocations: 71.97 kB / 0.6186 GB, free: 25.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02083/0.8539, allocations: 21.01 MB / 0.6391 GB, free: 3.637 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.02566/0.8796, allocations: 11.77 MB / 0.6506 GB, free: 7.625 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0161/0.8957, allocations: 6.901 MB / 0.6574 GB, free: 0.625 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001666/0.8974, allocations: 0.7306 MB / 0.6581 GB, free: 15.89 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001063/0.8984, allocations: 76.05 kB / 0.6581 GB, free: 15.81 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002597/0.901, allocations: 98.33 kB / 0.6582 GB, free: 15.72 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008303/0.9019, allocations: 286.9 kB / 0.6585 GB, free: 15.44 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003134/0.9022, allocations: 91.97 kB / 0.6586 GB, free: 15.35 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.01559/0.9178, allocations: 11.23 MB / 0.6696 GB, free: 4.145 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.9178, allocations: 0 / 0.6696 GB, free: 4.145 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005002/0.9228, allocations: 1.1 MB / 0.6706 GB, free: 3.047 MB / 478.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 (257): * Single equations (assignments): 246 * 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.002187/0.925, allocations: 0.4995 MB / 0.6711 GB, free: 2.699 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.009362/0.9343, allocations: 4.589 MB / 0.6756 GB, free: 14 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.58e-06/0.9343, allocations: 0 / 0.6756 GB, free: 14 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005962/0.9403, allocations: 3.121 MB / 0.6786 GB, free: 10.77 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004392/0.9447, allocations: 0.5634 MB / 0.6792 GB, free: 10.21 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03166/0.9763, allocations: 18.6 MB / 0.6974 GB, free: 7.551 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006082/0.9824, allocations: 4.05 MB / 0.7013 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001444/0.9839, allocations: 199.4 kB / 0.7015 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of SimCode: time 1.052e-06/0.9839, allocations: 0 / 0.7015 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of Templates: time 1.382/2.366, allocations: 0.548 GB / 1.25 GB, free: 116.1 MB / 0.5606 GB " [Timeout remaining time 658] 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/SolenoidActuator/ComparisonPullInStroke/ComparisonPullInStroke.csv","/var/lib/jenkins1/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: 16.453159649157897]