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.0007116/0.0007116, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009268/0.001638, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0006639/0.0006639, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008488/0.001513, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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 0.9538/0.9538, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08183/1.036, allocations: 53.64 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] 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.823e-06/1.823e-06, allocations: 0 / 244.5 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.85e-05/2.033e-05, allocations: 2.312 kB / 244.5 MB, free: 14.33 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.00662/0.006641, allocations: 6.287 MB / 250.8 MB, free: 8.008 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003015/0.009656, allocations: 1.974 MB / 252.8 MB, free: 6.027 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005049/0.01016, allocations: 23.88 kB / 252.8 MB, free: 6.004 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003985/0.01056, allocations: 214 kB / 253 MB, free: 5.793 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006537/0.01121, allocations: 448.3 kB / 253.5 MB, free: 5.352 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005177/0.01173, allocations: 375.4 kB / 253.8 MB, free: 4.984 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001219/0.01295, allocations: 1.549 MB / 255.4 MB, free: 3.426 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004052/0.01335, allocations: 337.9 kB / 255.7 MB, free: 3.07 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001077/0.01443, allocations: 0.9735 MB / 256.7 MB, free: 2.098 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005417/0.01497, allocations: 482.7 kB / 257.1 MB, free: 1.625 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001413/0.01511, allocations: 152 kB / 257.3 MB, free: 1.477 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002098/0.01532, allocations: 163.9 kB / 257.5 MB, free: 1.316 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001286/0.01545, allocations: 227.4 kB / 257.7 MB, free: 1.094 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002978/0.01575, allocations: 391.3 kB / 258.1 MB, free: 0.7109 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007139/0.01646, allocations: 0.8876 MB / 258.9 MB, free: 15.82 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.478e-05/0.01648, allocations: 4 kB / 258.9 MB, free: 15.82 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.01648, allocations: 0 / 258.9 MB, free: 15.82 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.016e-05/0.01651, allocations: 4 kB / 259 MB, free: 15.81 MB / 266.7 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.001634/0.01815, allocations: 1.562 MB / 260.5 MB, free: 14.22 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.008e-05/0.01818, allocations: 12.03 kB / 260.5 MB, free: 14.21 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003565/0.01853, allocations: 273.8 kB / 260.8 MB, free: 13.92 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005188/0.01905, allocations: 440.9 kB / 261.2 MB, free: 13.46 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.052e-05/0.0191, allocations: 74.38 kB / 261.3 MB, free: 13.39 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.614e-05/0.01919, allocations: 103.9 kB / 261.4 MB, free: 13.29 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006607/0.01985, allocations: 0.7278 MB / 262.1 MB, free: 12.53 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.798e-05/0.01988, allocations: 11.94 kB / 262.1 MB, free: 12.52 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.436e-05/0.01992, allocations: 40 kB / 262.2 MB, free: 12.48 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.541e-05/0.01994, allocations: 24 kB / 262.2 MB, free: 12.46 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003712/0.02031, allocations: 287.9 kB / 262.5 MB, free: 12.18 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002222/0.02253, allocations: 1.963 MB / 264.4 MB, free: 10.15 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000453/0.02298, allocations: 454.1 kB / 264.9 MB, free: 9.688 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001885/0.02317, allocations: 203.6 kB / 265.1 MB, free: 9.484 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.495e-05/0.02322, allocations: 24.25 kB / 265.1 MB, free: 9.461 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.594e-05/0.02324, allocations: 39.06 kB / 265.1 MB, free: 9.414 MB / 266.7 MB Notification: Performance of pre-optimization done (n=94): time 2.765e-06/0.02324, allocations: 0 / 265.1 MB, free: 9.414 MB / 266.7 MB Notification: Performance of matching and sorting (n=117): time 0.00354/0.02678, allocations: 2.542 MB / 267.7 MB, free: 6.762 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.421e-05/0.02683, allocations: 93.7 kB / 267.8 MB, free: 6.648 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003313/0.02716, allocations: 495 kB / 268.3 MB, free: 6.152 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.871e-05/0.0272, allocations: 41.7 kB / 268.3 MB, free: 6.105 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001564/0.02735, allocations: 382.2 kB / 268.7 MB, free: 5.727 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001907/0.02755, allocations: 420.3 kB / 269.1 MB, free: 5.312 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001682/0.02771, allocations: 190.8 kB / 269.3 MB, free: 5.117 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.02783, allocations: 402.6 kB / 269.7 MB, free: 4.715 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001482/0.02798, allocations: 114.6 kB / 269.8 MB, free: 4.605 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002071/0.02818, allocations: 265.6 kB / 270 MB, free: 4.309 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004076/0.02859, allocations: 477.2 kB / 270.5 MB, free: 3.809 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.0286, allocations: 4 kB / 270.5 MB, free: 3.805 MB / 266.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.000626/0.02922, allocations: 0.5925 MB / 271.1 MB, free: 3.195 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/0.02924, allocations: 4 kB / 271.1 MB, free: 3.191 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.02925, allocations: 4 kB / 271.1 MB, free: 3.188 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002631/0.02951, allocations: 122.4 kB / 271.2 MB, free: 3.059 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005888/0.0301, allocations: 291.6 kB / 271.5 MB, free: 2.773 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001939/0.03204, allocations: 4.059 MB / 275.6 MB, free: 14.46 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002663/0.03231, allocations: 39.91 kB / 275.6 MB, free: 14.42 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.775e-05/0.03235, allocations: 36.09 kB / 275.6 MB, free: 14.38 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 4 (pmActuator.armature.stopper_xMin.contact,pmActuator.armature.stopper_xMax.contact,cActuator.armature.stopper_xMin.contact,cActuator.armature.stopper_xMax.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (131): * Single equations (assignments): 128 * 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.0001874/0.03253, allocations: 173.6 kB / 275.8 MB, free: 14.2 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001022/0.03263, allocations: 95.92 kB / 275.9 MB, free: 14.11 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004844/0.03312, allocations: 446.8 kB / 276.3 MB, free: 13.66 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.927e-06/0.03313, allocations: 8 kB / 276.4 MB, free: 13.65 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.03314, allocations: 4 kB / 276.4 MB, free: 13.64 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.959e-06/0.03315, allocations: 7.969 kB / 276.4 MB, free: 13.64 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001479/0.03463, allocations: 1.298 MB / 277.7 MB, free: 12.29 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.03463, allocations: 3.938 kB / 277.7 MB, free: 12.29 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004972/0.03513, allocations: 238.1 kB / 277.9 MB, free: 12.06 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001646/0.03529, allocations: 87.42 kB / 278 MB, free: 11.97 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003231/0.03561, allocations: 151.2 kB / 278.1 MB, free: 11.81 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.522e-05/0.03565, allocations: 31.98 kB / 278.2 MB, free: 11.78 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002046/0.03769, allocations: 4.864 MB / 283 MB, free: 6.57 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.207e-06/0.0377, allocations: 0 / 283 MB, free: 6.57 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009156/0.03861, allocations: 0.9056 MB / 283.9 MB, free: 5.629 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.485e-05/0.03869, allocations: 20 kB / 284 MB, free: 5.609 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002217/0.03891, allocations: 35.98 kB / 284 MB, free: 5.574 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001297/0.03904, allocations: 80.44 kB / 284.1 MB, free: 5.496 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.14e-05/0.03908, allocations: 27.98 kB / 284.1 MB, free: 5.469 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001734/0.03926, allocations: 224.4 kB / 284.3 MB, free: 5.25 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03926, allocations: 0 / 284.3 MB, free: 5.25 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005634/0.03982, allocations: 256 kB / 284.6 MB, free: 5 MB / 282.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 (106): * Single equations (assignments): 102 * 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.0001306/0.03995, allocations: 112.2 kB / 284.7 MB, free: 4.879 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007639/0.04071, allocations: 0.8736 MB / 285.5 MB, free: 3.969 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.557e-05/0.04074, allocations: 23.98 kB / 285.6 MB, free: 3.945 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005255/0.04126, allocations: 0.7785 MB / 286.3 MB, free: 3.113 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005506/0.04182, allocations: 299.2 kB / 286.6 MB, free: 2.836 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004091/0.04591, allocations: 1.888 MB / 288.5 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001746/0.04608, allocations: 214.7 kB / 288.7 MB, free: 0.668 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003218/0.0464, allocations: 123.6 kB / 288.9 MB, free: 0.543 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003447/0.04675, allocations: 249.2 kB / 289.1 MB, free: 308 kB / 282.7 MB Notification: Performance of SimCode: time 1.272e-06/0.04675, allocations: 4 kB / 289.1 MB, free: 304 kB / 282.7 MB Notification: Performance of Templates: time 0.1168/0.1635, allocations: 14.3 MB / 303.4 MB, free: 30.64 MB / 282.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9751957450062037]