Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.00252/0.00252, allocations: 99.53 kB / 21.73 MB, free: 2.691 MB / 18.57 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.002839/0.002839, allocations: 164.9 kB / 25.02 MB, free: 8.926 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.341/1.341, allocations: 158.6 MB / 186.8 MB, free: 2.914 MB / 170.7 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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=5030,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_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5030,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_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 250.4 MB, free: 7.711 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.149e-05/3.335e-05, allocations: 2.312 kB / 250.4 MB, free: 7.707 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.009883/0.009917, allocations: 6.087 MB / 256.5 MB, free: 1.586 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.004082/0.014, allocations: 1.851 MB / 258.3 MB, free: 15.72 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005652/0.01456, allocations: 23.88 kB / 258.3 MB, free: 15.7 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006551/0.01522, allocations: 218.1 kB / 258.5 MB, free: 15.48 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001197/0.01642, allocations: 420.6 kB / 258.9 MB, free: 15.07 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001095/0.01751, allocations: 375.4 kB / 259.3 MB, free: 14.7 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002715/0.02023, allocations: 1.533 MB / 260.8 MB, free: 13.16 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008329/0.02106, allocations: 325.8 kB / 261.2 MB, free: 12.83 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001658/0.02272, allocations: 0.8421 MB / 262 MB, free: 11.98 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001025/0.02374, allocations: 486.6 kB / 262.5 MB, free: 11.51 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000318/0.02406, allocations: 156 kB / 262.6 MB, free: 11.36 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003603/0.02442, allocations: 160 kB / 262.8 MB, free: 11.2 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004078/0.02483, allocations: 311 kB / 263.1 MB, free: 10.89 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007967/0.02562, allocations: 459 kB / 263.5 MB, free: 10.45 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003026/0.02865, allocations: 1.916 MB / 265.5 MB, free: 8.523 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.184e-06/0.02866, allocations: 0 / 265.5 MB, free: 8.523 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.02866, allocations: 0 / 265.5 MB, free: 8.523 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.359e-05/0.02869, allocations: 0 / 265.5 MB, free: 8.523 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.004497/0.03319, allocations: 1.574 MB / 267 MB, free: 6.91 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.521e-05/0.03324, allocations: 11.98 kB / 267 MB, free: 6.898 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004986/0.03374, allocations: 208.1 kB / 267.3 MB, free: 6.695 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001778/0.03552, allocations: 0.6448 MB / 267.9 MB, free: 6.02 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001072/0.03563, allocations: 74.38 kB / 268 MB, free: 5.949 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002488/0.03588, allocations: 100.4 kB / 268.1 MB, free: 5.852 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002944/0.03882, allocations: 1.093 MB / 269.2 MB, free: 4.727 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.338e-05/0.03887, allocations: 8.141 kB / 269.2 MB, free: 4.719 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001371/0.03901, allocations: 36.38 kB / 269.2 MB, free: 4.684 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-05/0.03905, allocations: 27.94 kB / 269.2 MB, free: 4.656 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002658/0.04171, allocations: 0.8055 MB / 270 MB, free: 3.848 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008598/0.05031, allocations: 3.49 MB / 273.5 MB, free: 256 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002188/0.0525, allocations: 0.7819 MB / 274.3 MB, free: 15.45 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00124/0.05374, allocations: 444.4 kB / 274.7 MB, free: 15 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.593e-05/0.05383, allocations: 20.5 kB / 274.8 MB, free: 14.98 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.237e-05/0.05389, allocations: 46.48 kB / 274.8 MB, free: 14.93 MB / 266.7 MB Notification: Performance of pre-optimization done (n=91): time 4.268e-06/0.0539, allocations: 0 / 274.8 MB, free: 14.93 MB / 266.7 MB Notification: Performance of matching and sorting (n=115): time 0.01436/0.06826, allocations: 3.865 MB / 278.7 MB, free: 10.93 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.796e-05/0.06836, allocations: 89.77 kB / 278.8 MB, free: 10.82 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001524/0.06988, allocations: 0.7212 MB / 279.5 MB, free: 10.09 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.725e-05/0.06998, allocations: 45.7 kB / 279.5 MB, free: 10.04 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006622/0.07064, allocations: 0.5154 MB / 280 MB, free: 9.516 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000667/0.07131, allocations: 452.4 kB / 280.5 MB, free: 9.07 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006061/0.07191, allocations: 240.5 kB / 280.7 MB, free: 8.824 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000598/0.07251, allocations: 0.6328 MB / 281.4 MB, free: 8.18 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001221/0.07373, allocations: 354.5 kB / 281.7 MB, free: 7.836 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001505/0.07524, allocations: 0.5647 MB / 282.3 MB, free: 7.223 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002688/0.07792, allocations: 0.9541 MB / 283.2 MB, free: 6.219 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.116e-05/0.07794, allocations: 0 / 283.2 MB, free: 6.219 MB / 266.7 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.003901/0.08184, allocations: 1.198 MB / 284.4 MB, free: 5 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.608e-05/0.08187, allocations: 8.25 kB / 284.4 MB, free: 4.992 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.951e-05/0.08189, allocations: 8 kB / 284.4 MB, free: 4.984 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009804/0.08287, allocations: 166.9 kB / 284.6 MB, free: 4.809 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001465/0.08434, allocations: 239.6 kB / 284.8 MB, free: 4.574 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007877/0.09221, allocations: 6.352 MB / 291.2 MB, free: 13.86 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001227/0.09344, allocations: 43.97 kB / 291.2 MB, free: 13.82 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002539/0.0937, allocations: 39.94 kB / 291.3 MB, free: 13.78 MB / 282.7 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 (128): * Single equations (assignments): 125 * 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.001129/0.09482, allocations: 324.4 kB / 291.6 MB, free: 13.45 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005642/0.09539, allocations: 123.5 kB / 291.7 MB, free: 13.33 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00245/0.09784, allocations: 0.7488 MB / 292.4 MB, free: 12.56 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.948e-05/0.09786, allocations: 16 kB / 292.5 MB, free: 12.54 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.91e-05/0.09788, allocations: 4 kB / 292.5 MB, free: 12.54 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.137e-05/0.0979, allocations: 3.984 kB / 292.5 MB, free: 12.54 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006908/0.1048, allocations: 2.535 MB / 295 MB, free: 9.926 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.03e-05/0.1048, allocations: 4 kB / 295 MB, free: 9.922 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00127/0.1061, allocations: 195.7 kB / 295.2 MB, free: 9.73 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001045/0.1071, allocations: 202.6 kB / 295.4 MB, free: 9.516 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.114e-05/0.1072, allocations: 27.92 kB / 295.4 MB, free: 9.488 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006444/0.1137, allocations: 7.594 MB / 303 MB, free: 1.406 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-06/0.1137, allocations: 4 kB / 303 MB, free: 1.402 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00336/0.117, allocations: 1.842 MB / 304.9 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002132/0.1172, allocations: 83.47 kB / 304.9 MB, free: 15.44 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001128/0.1173, allocations: 20 kB / 305 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005337/0.1179, allocations: 44.05 kB / 305 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001885/0.1181, allocations: 88.42 kB / 305.1 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.379e-05/0.1181, allocations: 28 kB / 305.1 MB, free: 15.26 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0006853/0.1188, allocations: 478.7 kB / 305.6 MB, free: 14.8 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1188, allocations: 3.938 kB / 305.6 MB, free: 14.79 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0009885/0.1198, allocations: 252 kB / 305.8 MB, free: 14.55 MB / 298.7 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 (104): * Single equations (assignments): 100 * 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.0002196/0.12, allocations: 135.1 kB / 306 MB, free: 14.4 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002705/0.1227, allocations: 1.513 MB / 307.5 MB, free: 12.83 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.1227, allocations: 0.625 kB / 307.5 MB, free: 12.83 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001755/0.1245, allocations: 1.235 MB / 308.7 MB, free: 11.52 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009939/0.1255, allocations: 193 kB / 308.9 MB, free: 11.34 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003821/0.1293, allocations: 2.048 MB / 311 MB, free: 9.246 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005012/0.1298, allocations: 440.7 kB / 311.4 MB, free: 8.789 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0004626/0.1303, allocations: 107.3 kB / 311.5 MB, free: 8.68 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002342/0.1305, allocations: 88.41 kB / 311.6 MB, free: 8.594 MB / 298.7 MB Notification: Performance of SimCode: time 8.31e-07/0.1305, allocations: 3.938 kB / 311.6 MB, free: 8.59 MB / 298.7 MB Notification: Performance of Templates: time 0.02304/0.1536, allocations: 12.1 MB / 323.7 MB, free: 12.51 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ArmatureStroke/ArmatureStroke.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 5.049156893976033]