Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.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.001265/0.001265, allocations: 80.92 kB / 22.29 MB, free: 2.207 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.0009962/0.0009962, allocations: 168.2 kB / 25.7 MB, free: 8.434 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 0.8089/0.8089, allocations: 158.6 MB / 187.6 MB, free: 2.781 MB / 170.7 MB " [Timeout remaining time 179] 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.ForceCurrentBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cActuator.flange.f|pmActuator.flange.f|pmActuator.coil.Phi|pmActuator.coil.L_stat",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cActuator.flange.f|pmActuator.flange.f|pmActuator.coil.Phi|pmActuator.coil.L_stat",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.153e-06/1.153e-06, allocations: 0 / 251.5 MB, free: 7.285 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.518e-06/1.067e-05, allocations: 10.25 kB / 251.5 MB, free: 7.273 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.004933/0.004944, allocations: 6.121 MB / 257.7 MB, free: 1.121 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002034/0.006978, allocations: 2.189 MB / 259.8 MB, free: 14.92 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002366/0.007214, allocations: 19.94 kB / 259.9 MB, free: 14.9 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004679/0.007682, allocations: 349.7 kB / 260.2 MB, free: 14.55 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005726/0.008255, allocations: 0.5003 MB / 260.7 MB, free: 14.05 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00043/0.008685, allocations: 443.2 kB / 261.1 MB, free: 13.62 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001039/0.009724, allocations: 1.58 MB / 262.7 MB, free: 12.03 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000327/0.01005, allocations: 349.8 kB / 263.1 MB, free: 11.66 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005591/0.01061, allocations: 0.8928 MB / 263.9 MB, free: 10.77 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003976/0.01101, allocations: 0.5182 MB / 264.5 MB, free: 10.25 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001176/0.01113, allocations: 152 kB / 264.6 MB, free: 10.1 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001638/0.01129, allocations: 191.9 kB / 264.8 MB, free: 9.91 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001666/0.01146, allocations: 322.9 kB / 265.1 MB, free: 9.594 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002701/0.01173, allocations: 458.9 kB / 265.6 MB, free: 9.145 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006513/0.01238, allocations: 1.02 MB / 266.6 MB, free: 8.121 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.603e-06/0.01238, allocations: 0 / 266.6 MB, free: 8.121 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.22e-07/0.01238, allocations: 0 / 266.6 MB, free: 8.121 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.131e-06/0.01239, allocations: 4 kB / 266.6 MB, free: 8.117 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: 242 * Number of variables: 242 Notification: Performance of Generate backend data structure: time 0.001273/0.01366, allocations: 1.406 MB / 268 MB, free: 6.684 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.431e-05/0.01368, allocations: 8.031 kB / 268 MB, free: 6.676 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001408/0.01382, allocations: 156.8 kB / 268.2 MB, free: 6.523 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005889/0.01441, allocations: 473.6 kB / 268.6 MB, free: 6.031 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.301e-05/0.01446, allocations: 74.38 kB / 268.7 MB, free: 5.961 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.306e-05/0.01454, allocations: 100.4 kB / 268.8 MB, free: 5.863 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006764/0.01522, allocations: 0.7439 MB / 269.5 MB, free: 5.09 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.08e-05/0.01524, allocations: 7.891 kB / 269.5 MB, free: 5.082 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.799e-05/0.01528, allocations: 47.92 kB / 269.6 MB, free: 5.035 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.336e-05/0.0153, allocations: 24 kB / 269.6 MB, free: 5.012 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003431/0.01564, allocations: 272 kB / 269.9 MB, free: 4.746 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002195/0.01784, allocations: 2.084 MB / 272 MB, free: 2.57 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007044/0.01854, allocations: 444.5 kB / 272.4 MB, free: 2.117 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001487/0.01869, allocations: 145.6 kB / 272.5 MB, free: 1.969 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.997e-05/0.01872, allocations: 12 kB / 272.5 MB, free: 1.957 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.239e-05/0.01874, allocations: 42.88 kB / 272.6 MB, free: 1.906 MB / 250.7 MB Notification: Performance of pre-optimization done (n=58): time 1.603e-06/0.01874, allocations: 0 / 272.6 MB, free: 1.906 MB / 250.7 MB Notification: Performance of matching and sorting (n=67): time 0.001134/0.01988, allocations: 0.8345 MB / 273.4 MB, free: 1.066 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.305e-05/0.01991, allocations: 85.11 kB / 273.5 MB, free: 0.9648 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004284/0.02034, allocations: 0.6536 MB / 274.2 MB, free: 308 kB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.767e-05/0.02037, allocations: 33.7 kB / 274.2 MB, free: 268 kB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001903/0.02056, allocations: 469.8 kB / 274.7 MB, free: 15.79 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001109/0.02067, allocations: 241.9 kB / 274.9 MB, free: 15.55 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001414/0.02081, allocations: 162.5 kB / 275 MB, free: 15.39 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001134/0.02092, allocations: 398.6 kB / 275.4 MB, free: 14.99 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002919/0.02121, allocations: 81.95 kB / 275.5 MB, free: 14.91 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001999/0.02141, allocations: 286.8 kB / 275.8 MB, free: 14.56 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003525/0.02177, allocations: 442.7 kB / 276.2 MB, free: 14.05 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.02177, allocations: 4 kB / 276.2 MB, free: 14.05 MB / 266.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.0004591/0.02223, allocations: 454.2 kB / 276.7 MB, free: 13.59 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.02224, allocations: 8 kB / 276.7 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.116e-06/0.02225, allocations: 8 kB / 276.7 MB, free: 13.58 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.02227, allocations: 11.94 kB / 276.7 MB, free: 13.57 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004756/0.02274, allocations: 243.9 kB / 276.9 MB, free: 13.33 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.02275, allocations: 16 kB / 277 MB, free: 13.31 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000244/0.02299, allocations: 47.91 kB / 277 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.208e-05/0.02303, allocations: 27.98 kB / 277 MB, free: 13.24 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 4 (pmActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact,cActuator.armature.stopper_xMax.contact,cActuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001528/0.02318, allocations: 168.5 kB / 277.2 MB, free: 13.06 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.37e-05/0.02326, allocations: 75.92 kB / 277.3 MB, free: 12.99 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000202/0.02347, allocations: 193.3 kB / 277.5 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.02347, allocations: 8 kB / 277.5 MB, free: 12.78 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.02347, allocations: 4 kB / 277.5 MB, free: 12.78 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.02348, allocations: 3.984 kB / 277.5 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001212/0.02469, allocations: 1.182 MB / 278.7 MB, free: 11.48 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.02469, allocations: 8 kB / 278.7 MB, free: 11.48 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00032/0.02501, allocations: 180.4 kB / 278.8 MB, free: 11.3 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.012e-06/0.02502, allocations: 8 kB / 278.9 MB, free: 11.29 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.395e-05/0.02504, allocations: 23.98 kB / 278.9 MB, free: 11.27 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.781e-06/0.02505, allocations: 11.94 kB / 278.9 MB, free: 11.26 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.02505, allocations: 11.94 kB / 278.9 MB, free: 11.25 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004075/0.02546, allocations: 0.6395 MB / 279.5 MB, free: 10.5 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.725e-05/0.02554, allocations: 83.41 kB / 279.6 MB, free: 10.42 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.887e-05/0.0256, allocations: 20 kB / 279.6 MB, free: 10.4 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002305/0.02583, allocations: 43.91 kB / 279.7 MB, free: 10.36 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.793e-05/0.0259, allocations: 71.72 kB / 279.8 MB, free: 10.29 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.27e-05/0.02592, allocations: 20 kB / 279.8 MB, free: 10.27 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002246/0.02614, allocations: 315.4 kB / 280.1 MB, free: 9.957 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02614, allocations: 3.938 kB / 280.1 MB, free: 9.953 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004034/0.02655, allocations: 208 kB / 280.3 MB, free: 9.75 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008564/0.0274, allocations: 457 kB / 280.7 MB, free: 9.352 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003629/0.02777, allocations: 375 kB / 281.1 MB, free: 8.988 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.376e-05/0.02778, allocations: 12.5 kB / 281.1 MB, free: 8.977 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001675/0.02795, allocations: 174.2 kB / 281.3 MB, free: 8.805 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005388/0.02849, allocations: 200.1 kB / 281.5 MB, free: 8.613 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001739/0.03023, allocations: 1.687 MB / 283.2 MB, free: 6.805 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001143/0.03034, allocations: 180.6 kB / 283.3 MB, free: 6.602 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002607/0.0306, allocations: 114.4 kB / 283.5 MB, free: 6.484 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003066/0.03091, allocations: 217.2 kB / 283.7 MB, free: 6.273 MB / 266.7 MB Notification: Performance of SimCode: time 4.51e-07/0.03091, allocations: 0 / 283.7 MB, free: 6.273 MB / 266.7 MB Notification: Performance of Templates: time 0.01224/0.04315, allocations: 10.96 MB / 294.6 MB, free: 11.29 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceCurrentBehaviour/ForceCurrentBehaviour.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.7524052849039435]