Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.0009055/0.0009055, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001044/0.001044, allocations: 168.7 kB / 24.91 MB, free: 9.191 MB / 18.57 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.9756/0.9756, allocations: 177.1 MB / 205.3 MB, free: 5.5 MB / 186.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.ForceCurrentBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|cActuator.flange.f|pmActuator.flange.f|pmActuator.coil.Phi|pmActuator.coil.L_stat",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|cActuator.flange.f|pmActuator.flange.f|pmActuator.coil.Phi|pmActuator.coil.L_stat",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 273.5 MB, free: 1.273 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.344e-05/1.496e-05, allocations: 2.312 kB / 273.5 MB, free: 1.27 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.00616/0.006175, allocations: 6.368 MB / 279.9 MB, free: 10.87 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003066/0.009241, allocations: 2.426 MB / 282.3 MB, free: 8.434 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000352/0.009593, allocations: 23.88 kB / 282.3 MB, free: 8.41 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000553/0.01015, allocations: 357.7 kB / 282.7 MB, free: 8.059 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007833/0.01093, allocations: 0.5508 MB / 283.2 MB, free: 7.504 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006137/0.01154, allocations: 463.1 kB / 283.7 MB, free: 7.051 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001115/0.01266, allocations: 1.611 MB / 285.3 MB, free: 5.43 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003752/0.01303, allocations: 346 kB / 285.6 MB, free: 5.059 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009345/0.01397, allocations: 0.9199 MB / 286.5 MB, free: 4.137 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005153/0.01448, allocations: 0.5298 MB / 287.1 MB, free: 3.605 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001334/0.01462, allocations: 160 kB / 287.2 MB, free: 3.449 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002016/0.01482, allocations: 192 kB / 287.4 MB, free: 3.262 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001753/0.01499, allocations: 330.8 kB / 287.7 MB, free: 2.938 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002909/0.01528, allocations: 462.9 kB / 288.2 MB, free: 2.484 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007595/0.01604, allocations: 1.039 MB / 289.2 MB, free: 1.441 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.01605, allocations: 3.938 kB / 289.2 MB, free: 1.438 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.01605, allocations: 0 / 289.2 MB, free: 1.438 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.435e-06/0.01605, allocations: 0 / 289.2 MB, free: 1.438 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.1087/0.1248, allocations: 1.424 MB / 290.6 MB, free: 24.91 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.1248, allocations: 9.781 kB / 290.6 MB, free: 24.91 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005058/0.1253, allocations: 190.6 kB / 290.8 MB, free: 24.91 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006461/0.1259, allocations: 481.9 kB / 291.3 MB, free: 24.74 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.039e-05/0.126, allocations: 76.11 kB / 291.4 MB, free: 24.74 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000112/0.1261, allocations: 97.34 kB / 291.5 MB, free: 24.74 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008971/0.127, allocations: 0.7303 MB / 292.2 MB, free: 24.59 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.385e-05/0.1271, allocations: 3.797 kB / 292.2 MB, free: 24.59 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.304e-05/0.1271, allocations: 40.22 kB / 292.2 MB, free: 24.58 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.908e-05/0.1271, allocations: 25.08 kB / 292.3 MB, free: 24.58 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004237/0.1275, allocations: 278.5 kB / 292.5 MB, free: 24.57 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002545/0.1301, allocations: 2.103 MB / 294.6 MB, free: 23.83 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007846/0.1309, allocations: 363.8 kB / 295 MB, free: 23.78 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001899/0.1311, allocations: 134.8 kB / 295.1 MB, free: 23.77 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.678e-05/0.1311, allocations: 17.28 kB / 295.2 MB, free: 23.77 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.003e-05/0.1311, allocations: 41.56 kB / 295.2 MB, free: 23.72 MB / 266.7 MB Notification: Performance of pre-optimization done (n=58): time 2.034e-06/0.1311, allocations: 0.9688 kB / 295.2 MB, free: 23.72 MB / 266.7 MB Notification: Performance of matching and sorting (n=67): time 0.00134/0.1325, allocations: 0.8315 MB / 296 MB, free: 23.62 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.483e-05/0.1325, allocations: 84.39 kB / 296.1 MB, free: 23.52 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000605/0.1331, allocations: 0.7062 MB / 296.8 MB, free: 23.37 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.675e-05/0.1331, allocations: 34.86 kB / 296.8 MB, free: 23.34 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001915/0.1333, allocations: 487.1 kB / 297.3 MB, free: 23.05 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001155/0.1334, allocations: 240.8 kB / 297.6 MB, free: 22.9 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001631/0.1336, allocations: 168.9 kB / 297.7 MB, free: 22.88 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.455e-05/0.1337, allocations: 406 kB / 298.1 MB, free: 22.56 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001332/0.1338, allocations: 81.31 kB / 298.2 MB, free: 22.56 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002098/0.134, allocations: 282.7 kB / 298.5 MB, free: 22.36 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003953/0.1344, allocations: 438.7 kB / 298.9 MB, free: 22.15 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.1344, allocations: 1.156 kB / 298.9 MB, free: 22.15 MB / 266.7 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.0005637/0.135, allocations: 475.6 kB / 299.4 MB, free: 22.11 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.135, allocations: 9.344 kB / 299.4 MB, free: 22.11 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.888e-06/0.135, allocations: 5.781 kB / 299.4 MB, free: 22.11 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.992e-05/0.135, allocations: 9.812 kB / 299.4 MB, free: 22.11 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006166/0.1357, allocations: 273.6 kB / 299.7 MB, free: 22.11 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.331e-05/0.1357, allocations: 14.22 kB / 299.7 MB, free: 22.11 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002966/0.136, allocations: 40 kB / 299.7 MB, free: 22.11 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.897e-05/0.136, allocations: 28.88 kB / 299.7 MB, free: 22.11 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 (112): * Single equations (assignments): 112 * 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.0001547/0.1362, allocations: 170.9 kB / 299.9 MB, free: 21.98 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001092/0.1363, allocations: 76.91 kB / 300 MB, free: 21.98 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002436/0.1365, allocations: 198.2 kB / 300.2 MB, free: 21.93 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.1365, allocations: 7.062 kB / 300.2 MB, free: 21.93 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.1365, allocations: 0 / 300.2 MB, free: 21.93 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/0.1365, allocations: 4.625 kB / 300.2 MB, free: 21.93 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001322/0.1379, allocations: 1.183 MB / 301.4 MB, free: 21.43 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.65e-06/0.1379, allocations: 5.5 kB / 301.4 MB, free: 21.43 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003905/0.1383, allocations: 203.8 kB / 301.6 MB, free: 21.42 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.566e-06/0.1383, allocations: 9.438 kB / 301.6 MB, free: 21.42 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.67e-05/0.1383, allocations: 29.86 kB / 301.6 MB, free: 21.41 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.095e-06/0.1383, allocations: 9.781 kB / 301.6 MB, free: 21.41 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.653e-06/0.1383, allocations: 10.38 kB / 301.6 MB, free: 21.41 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004013/0.1387, allocations: 0.6444 MB / 302.3 MB, free: 20.95 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.052e-05/0.1388, allocations: 81.14 kB / 302.4 MB, free: 20.89 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.327e-05/0.1389, allocations: 25.05 kB / 302.4 MB, free: 20.88 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002441/0.1391, allocations: 36.19 kB / 302.4 MB, free: 20.88 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.509e-05/0.1392, allocations: 67.92 kB / 302.5 MB, free: 20.86 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.659e-05/0.1392, allocations: 24.69 kB / 302.5 MB, free: 20.85 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002814/0.1395, allocations: 338 kB / 302.8 MB, free: 20.8 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1395, allocations: 3.938 kB / 302.8 MB, free: 20.8 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004769/0.14, allocations: 209.1 kB / 303 MB, free: 20.78 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.0009229/0.1409, allocations: 468.3 kB / 303.5 MB, free: 20.63 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003631/0.1412, allocations: 366.8 kB / 303.9 MB, free: 20.57 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.771e-05/0.1413, allocations: 11.56 kB / 303.9 MB, free: 20.57 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001347/0.1414, allocations: 180.5 kB / 304 MB, free: 20.53 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005861/0.142, allocations: 233.8 kB / 304.3 MB, free: 20.44 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001577/0.1436, allocations: 1.723 MB / 306 MB, free: 19.35 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.932e-05/0.1437, allocations: 193.9 kB / 306.2 MB, free: 19.27 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002817/0.1439, allocations: 111.9 kB / 306.3 MB, free: 19.23 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000305/0.1442, allocations: 235 kB / 306.5 MB, free: 19.09 MB / 266.7 MB Notification: Performance of SimCode: time 7.31e-07/0.1442, allocations: 0 / 306.5 MB, free: 19.09 MB / 266.7 MB Notification: Performance of Templates: time 0.01228/0.1565, allocations: 11.37 MB / 317.9 MB, free: 8.078 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.sim & ./Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.9431968559511006]