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.001322/0.001322, allocations: 104.5 kB / 19.8 MB, free: 2.516 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.001376/0.001376, allocations: 210.9 kB / 22.99 MB, free: 5.609 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.399/1.399, allocations: 230.2 MB / 256.2 MB, free: 8.547 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.001841/0.001841, allocations: 67.88 kB / 376.5 MB, free: 3.621 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.243/0.2448, allocations: 53.32 MB / 429.8 MB, free: 7.559 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke): time 0.01362/0.2584, allocations: 11.48 MB / 441.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007387/0.2658, allocations: 3.884 MB / 445.2 MB, free: 8.129 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001665/0.2675, allocations: 39.88 kB / 445.2 MB, free: 8.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009349/0.2768, allocations: 8.147 MB / 453.3 MB, free: 15.93 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007567/0.2844, allocations: 4.741 MB / 458.1 MB, free: 11.18 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002973/0.2874, allocations: 0.9167 MB / 459 MB, free: 10.26 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007634/0.295, allocations: 5.407 MB / 464.4 MB, free: 4.832 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001269/0.2963, allocations: 0.6018 MB / 465 MB, free: 4.199 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004717/0.301, allocations: 2.907 MB / 467.9 MB, free: 1.285 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008163/0.3092, allocations: 5.832 MB / 473.7 MB, free: 11.43 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009095/0.3101, allocations: 356 kB / 474.1 MB, free: 11.09 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009876/0.311, allocations: 404 kB / 474.5 MB, free: 10.69 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001477/0.3125, allocations: 1.892 MB / 476.4 MB, free: 8.785 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002586/0.3151, allocations: 2.842 MB / 479.2 MB, free: 5.922 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007554/0.3227, allocations: 7.425 MB / 486.6 MB, free: 14.46 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3227, allocations: 0 / 486.6 MB, free: 14.46 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3227, allocations: 0 / 486.6 MB, free: 14.46 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002284/0.3229, allocations: 0 / 486.6 MB, free: 14.46 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.01336/0.3363, allocations: 8.035 MB / 494.7 MB, free: 6.32 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.878e-05/0.3363, allocations: 8.031 kB / 494.7 MB, free: 6.312 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001767/0.3381, allocations: 0.9519 MB / 495.6 MB, free: 5.355 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004386/0.3425, allocations: 3.321 MB / 499 MB, free: 1.969 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001422/0.3426, allocations: 156.2 kB / 499.1 MB, free: 1.812 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003142/0.3429, allocations: 212 kB / 499.3 MB, free: 1.605 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003961/0.3469, allocations: 2.093 MB / 0.4897 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.137e-05/0.3469, allocations: 7.953 kB / 0.4897 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001925/0.3471, allocations: 84 kB / 0.4897 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.369e-05/0.3472, allocations: 52 kB / 0.4898 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003704/0.3509, allocations: 1.852 MB / 0.4916 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01525/0.3661, allocations: 8.971 MB / 0.5004 GB, free: 4.273 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003902/0.37, allocations: 2.172 MB / 0.5025 GB, free: 2.035 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002626/0.3726, allocations: 1.276 MB / 0.5037 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001483/0.3728, allocations: 42.27 kB / 0.5038 GB, free: 0.7148 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002142/0.3749, allocations: 1.132 MB / 0.5049 GB, free: 15.54 MB / 430.1 MB Notification: Performance of pre-optimization done (n=246): time 3.978e-06/0.3749, allocations: 0 / 0.5049 GB, free: 15.54 MB / 430.1 MB Notification: Performance of matching and sorting (n=371): time 0.07016/0.4451, allocations: 22.81 MB / 0.5272 GB, free: 8.43 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.2584/0.7035, allocations: 13.66 MB / 0.5405 GB, free: 94.46 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01392/0.7174, allocations: 15.03 MB / 0.5552 GB, free: 88.37 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005001/0.7179, allocations: 89.7 kB / 0.5553 GB, free: 88.28 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002369/0.7203, allocations: 3.796 MB / 0.559 GB, free: 85.06 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001084/0.7214, allocations: 1.287 MB / 0.5602 GB, free: 84.75 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000829/0.7222, allocations: 0.5197 MB / 0.5607 GB, free: 84.29 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.997e-05/0.7223, allocations: 301.9 kB / 0.561 GB, free: 84 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002027/0.7243, allocations: 1.235 MB / 0.5622 GB, free: 82.88 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002152/0.7264, allocations: 1.601 MB / 0.5638 GB, free: 81.35 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004028/0.7305, allocations: 2.973 MB / 0.5667 GB, free: 78.34 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.624e-06/0.7305, allocations: 3.562 kB / 0.5667 GB, free: 78.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=435) (initialization): time 0.00934/0.7398, allocations: 5.198 MB / 0.5718 GB, free: 73.21 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/0.7398, allocations: 8 kB / 0.5718 GB, free: 73.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.55e-05/0.7399, allocations: 4 kB / 0.5718 GB, free: 73.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005091/0.7449, allocations: 1.405 MB / 0.5732 GB, free: 71.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002303/0.7473, allocations: 0.5301 MB / 0.5737 GB, free: 71.28 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02216/0.7694, allocations: 24.06 MB / 0.5972 GB, free: 46.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003923/0.7733, allocations: 114.2 kB / 0.5973 GB, free: 45.99 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003791/0.7737, allocations: 115.9 kB / 0.5974 GB, free: 45.88 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.002667/0.7764, allocations: 2.205 MB / 0.5995 GB, free: 43.66 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008174/0.7772, allocations: 0.873 MB / 0.6004 GB, free: 42.79 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009754/0.787, allocations: 5.234 MB / 0.6055 GB, free: 37.51 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.019e-05/0.787, allocations: 36 kB / 0.6055 GB, free: 37.48 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.384e-05/0.787, allocations: 4 kB / 0.6055 GB, free: 37.47 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-05/0.787, allocations: 23.92 kB / 0.6056 GB, free: 37.45 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01598/0.803, allocations: 11.05 MB / 0.6164 GB, free: 26.35 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.204e-05/0.803, allocations: 0 / 0.6164 GB, free: 26.35 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002208/0.8052, allocations: 447.4 kB / 0.6168 GB, free: 25.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005053/0.8103, allocations: 1.35 MB / 0.6181 GB, free: 24.53 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002992/0.8106, allocations: 75.97 kB / 0.6182 GB, free: 24.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01962/0.8302, allocations: 21.94 MB / 0.6396 GB, free: 1.277 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0266/0.8568, allocations: 11.98 MB / 0.6513 GB, free: 5.004 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01499/0.8718, allocations: 6.893 MB / 0.658 GB, free: 14.01 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001839/0.8736, allocations: 0.8176 MB / 0.6588 GB, free: 13.17 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006366/0.8743, allocations: 71.94 kB / 0.6589 GB, free: 13.1 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002062/0.8763, allocations: 100.2 kB / 0.659 GB, free: 13 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007802/0.8771, allocations: 267.2 kB / 0.6592 GB, free: 12.74 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002307/0.8773, allocations: 103.9 kB / 0.6593 GB, free: 12.64 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.01354/0.8909, allocations: 11.22 MB / 0.6703 GB, free: 1.438 MB / 478.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.8909, allocations: 4 kB / 0.6703 GB, free: 1.434 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004515/0.8954, allocations: 1.096 MB / 0.6714 GB, free: 348 kB / 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.001788/0.8972, allocations: 0.5 MB / 0.6719 GB, free: 15.98 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.008453/0.9056, allocations: 4.582 MB / 0.6763 GB, free: 11.29 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.655e-06/0.9056, allocations: 4.062 kB / 0.6763 GB, free: 11.29 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00586/0.9115, allocations: 3.125 MB / 0.6794 GB, free: 8.047 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003665/0.9152, allocations: 0.5623 MB / 0.6799 GB, free: 7.492 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02745/0.9426, allocations: 18.27 MB / 0.6978 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004522/0.9471, allocations: 4.05 MB / 0.7017 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001965/0.9491, allocations: 313.5 kB / 0.702 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006511/0.9497, allocations: 175.4 kB / 0.7022 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of SimCode: time 1.142e-06/0.9497, allocations: 0 / 0.7022 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of Templates: time 0.3587/1.308, allocations: 69.66 MB / 0.7702 GB, free: 155.1 MB / 0.5294 GB " [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.688471654430032]