Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.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.001908/0.001908, allocations: 84.08 kB / 20.68 MB, free: 1.027 MB / 14.72 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.001489/0.001489, allocations: 167.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 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.431/1.431, allocations: 177.1 MB / 204.3 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.MovingCoilActuator.ArmatureStroke,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cActuator.armature.stopper_xMax.v_rel|cActuator.l.i|cActuator.x|pmActuator.armature.stopper_xMax.v_rel|pmActuator.coil.Phi|pmActuator.coil.i|pmActuator.g_mLeak2.port_p.Phi|pmActuator.g_ma.port_p.Phi|pmActuator.x",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cActuator.armature.stopper_xMax.v_rel|cActuator.l.i|cActuator.x|pmActuator.armature.stopper_xMax.v_rel|pmActuator.coil.Phi|pmActuator.coil.i|pmActuator.g_mLeak2.port_p.Phi|pmActuator.g_ma.port_p.Phi|pmActuator.x",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 325.1 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.503e-05/2.662e-05, allocations: 2.281 kB / 325.1 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.008492/0.008519, allocations: 5.722 MB / 330.8 MB, free: 12.72 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004359/0.01288, allocations: 1.851 MB / 332.6 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007184/0.0136, allocations: 24.41 kB / 332.7 MB, free: 11.35 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006741/0.01427, allocations: 213.6 kB / 332.9 MB, free: 11.17 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001142/0.01541, allocations: 436 kB / 333.3 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000865/0.01628, allocations: 381 kB / 333.7 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002036/0.01831, allocations: 1.55 MB / 335.2 MB, free: 9.477 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006224/0.01893, allocations: 326.9 kB / 335.5 MB, free: 9.25 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001399/0.02033, allocations: 0.8721 MB / 336.4 MB, free: 8.664 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007245/0.02106, allocations: 461 kB / 336.9 MB, free: 8.379 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002043/0.02126, allocations: 158.4 kB / 337 MB, free: 8.379 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002819/0.02154, allocations: 167.1 kB / 337.2 MB, free: 8.375 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003069/0.02185, allocations: 315.2 kB / 337.5 MB, free: 8.098 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000548/0.0224, allocations: 465.8 kB / 337.9 MB, free: 7.824 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002127/0.02453, allocations: 1.938 MB / 339.9 MB, free: 6.277 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.02453, allocations: 0 / 339.9 MB, free: 6.277 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.02453, allocations: 4 kB / 339.9 MB, free: 6.273 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.382e-05/0.02457, allocations: 0 / 339.9 MB, free: 6.273 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.003103/0.02767, allocations: 1.384 MB / 341.3 MB, free: 4.852 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.02771, allocations: 8.031 kB / 341.3 MB, free: 4.844 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005554/0.02826, allocations: 156.1 kB / 341.4 MB, free: 4.691 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001206/0.02947, allocations: 0.642 MB / 342.1 MB, free: 4.023 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.783e-05/0.02956, allocations: 74.38 kB / 342.1 MB, free: 3.949 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001653/0.02972, allocations: 99.94 kB / 342.2 MB, free: 3.852 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001893/0.03162, allocations: 1.024 MB / 343.3 MB, free: 2.809 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.945e-05/0.03166, allocations: 11.95 kB / 343.3 MB, free: 2.797 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.438e-05/0.03175, allocations: 36 kB / 343.3 MB, free: 2.762 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.16e-05/0.03177, allocations: 27.94 kB / 343.3 MB, free: 2.734 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001669/0.03344, allocations: 0.7938 MB / 344.1 MB, free: 1.941 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005103/0.03854, allocations: 2.713 MB / 346.8 MB, free: 15.15 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001427/0.03997, allocations: 0.7738 MB / 347.6 MB, free: 14.36 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007653/0.04074, allocations: 399.7 kB / 348 MB, free: 13.96 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.686e-05/0.04079, allocations: 8.5 kB / 348 MB, free: 13.96 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.394e-05/0.04084, allocations: 47.06 kB / 348.1 MB, free: 13.9 MB / 318.1 MB Notification: Performance of pre-optimization done (n=95): time 2.896e-06/0.04084, allocations: 3.938 kB / 348.1 MB, free: 13.9 MB / 318.1 MB Notification: Performance of matching and sorting (n=119): time 0.009156/0.05, allocations: 3.814 MB / 351.9 MB, free: 9.969 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.749e-05/0.05006, allocations: 93.75 kB / 352 MB, free: 9.859 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007982/0.05086, allocations: 0.5771 MB / 352.5 MB, free: 9.273 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.568e-05/0.05094, allocations: 49.64 kB / 352.6 MB, free: 9.219 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003399/0.05128, allocations: 449.1 kB / 353 MB, free: 8.773 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003553/0.05163, allocations: 428.3 kB / 353.5 MB, free: 8.352 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003215/0.05195, allocations: 190.9 kB / 353.6 MB, free: 8.156 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002157/0.05217, allocations: 390.7 kB / 354 MB, free: 7.766 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007253/0.05289, allocations: 342.5 kB / 354.4 MB, free: 7.434 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008569/0.05375, allocations: 484.8 kB / 354.8 MB, free: 6.926 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001599/0.05535, allocations: 0.8598 MB / 355.7 MB, free: 6.027 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.05535, allocations: 0 / 355.7 MB, free: 6.027 MB / 318.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002247/0.0576, allocations: 1.147 MB / 356.8 MB, free: 4.863 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.05762, allocations: 4 kB / 356.8 MB, free: 4.859 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.05763, allocations: 4 kB / 356.8 MB, free: 4.855 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004241/0.05806, allocations: 134.8 kB / 357 MB, free: 4.715 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001041/0.0591, allocations: 231.7 kB / 357.2 MB, free: 4.488 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004312/0.06341, allocations: 4.562 MB / 361.8 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007405/0.06415, allocations: 39.97 kB / 361.8 MB, free: 15.58 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.044e-05/0.06423, allocations: 40.19 kB / 361.8 MB, free: 15.54 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 4 (cActuator.armature.stopper_xMin.contact,cActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact,pmActuator.armature.stopper_xMax.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,4,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005073/0.06474, allocations: 285.5 kB / 362.1 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001831/0.06492, allocations: 103.4 kB / 362.2 MB, free: 15.15 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001598/0.06652, allocations: 0.7409 MB / 363 MB, free: 14.39 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.329e-05/0.06653, allocations: 15.98 kB / 363 MB, free: 14.38 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/0.06654, allocations: 0 / 363 MB, free: 14.38 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.479e-05/0.06656, allocations: 7.984 kB / 363 MB, free: 14.37 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004112/0.07067, allocations: 2.156 MB / 365.1 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.077e-06/0.07068, allocations: 8.125 kB / 365.2 MB, free: 12.15 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009017/0.07158, allocations: 191.7 kB / 365.3 MB, free: 11.96 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004729/0.07205, allocations: 151.4 kB / 365.5 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.597e-05/0.07213, allocations: 27.98 kB / 365.5 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005174/0.0773, allocations: 5.466 MB / 371 MB, free: 5.898 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.0773, allocations: 0 / 371 MB, free: 5.898 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00327/0.08057, allocations: 1.661 MB / 372.6 MB, free: 4.207 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004781/0.08105, allocations: 175.4 kB / 372.8 MB, free: 4.035 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001309/0.08118, allocations: 31.98 kB / 372.8 MB, free: 4.004 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00057/0.08175, allocations: 27.98 kB / 372.9 MB, free: 3.977 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002161/0.08197, allocations: 88.38 kB / 373 MB, free: 3.891 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.172e-05/0.08204, allocations: 35.98 kB / 373 MB, free: 3.855 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0006471/0.08269, allocations: 410.8 kB / 373.4 MB, free: 3.453 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.08269, allocations: 0 / 373.4 MB, free: 3.453 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0011/0.08379, allocations: 260 kB / 373.6 MB, free: 3.199 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 6 (cActuator.x,cActuator.armature.stopper_xMin.v_rel,cActuator.l.i,pmActuator.x,pmActuator.armature.stopper_xMin.v_rel,pmActuator.coil.Phi) * Number of discrete variables: 4 (cActuator.armature.stopper_xMax.contact,cActuator.armature.stopper_xMin.contact,pmActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (108): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,3,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002421/0.08403, allocations: 131.1 kB / 373.8 MB, free: 3.059 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00242/0.08645, allocations: 1.231 MB / 375 MB, free: 1.785 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.08645, allocations: 0 / 375 MB, free: 1.785 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001431/0.08788, allocations: 0.9356 MB / 375.9 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001123/0.08901, allocations: 206 kB / 376.1 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004281/0.09329, allocations: 2.006 MB / 378.1 MB, free: 14.56 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005558/0.09384, allocations: 454.4 kB / 378.6 MB, free: 14.09 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005643/0.09441, allocations: 119.6 kB / 378.7 MB, free: 13.97 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002496/0.09466, allocations: 80.47 kB / 378.8 MB, free: 13.89 MB / 350.1 MB Notification: Performance of SimCode: time 1.583e-06/0.09466, allocations: 0 / 378.8 MB, free: 13.89 MB / 350.1 MB Notification: Performance of Templates: time 0.02465/0.1193, allocations: 12.54 MB / 391.3 MB, free: 1.543 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.sim & ./Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ArmatureStroke/ArmatureStroke.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.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: 4.895504083484411]