Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009274/0.0009274, allocations: 83.89 kB / 21.19 MB, free: 3.387 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000836/0.000836, allocations: 145.1 kB / 24.54 MB, free: 32 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9666/0.9666, allocations: 173.4 MB / 201.1 MB, free: 9.336 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_4.0.0_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_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 268 MB, free: 6.453 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.288e-05/1.418e-05, allocations: 2.312 kB / 268 MB, free: 6.449 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.005589/0.005603, allocations: 6.348 MB / 274.3 MB, free: 76 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002629/0.008232, allocations: 2.166 MB / 276.5 MB, free: 13.9 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003089/0.008541, allocations: 23.88 kB / 276.5 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005631/0.009104, allocations: 345.7 kB / 276.9 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006737/0.009778, allocations: 0.5003 MB / 277.4 MB, free: 13.03 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005408/0.01032, allocations: 455.2 kB / 277.8 MB, free: 12.59 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001265/0.01158, allocations: 1.588 MB / 279.4 MB, free: 10.99 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003586/0.01194, allocations: 337.8 kB / 279.7 MB, free: 10.64 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006662/0.01261, allocations: 0.8889 MB / 280.6 MB, free: 9.746 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004691/0.01308, allocations: 0.5376 MB / 281.1 MB, free: 9.207 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001272/0.0132, allocations: 152 kB / 281.3 MB, free: 9.059 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001829/0.01339, allocations: 184 kB / 281.5 MB, free: 8.879 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001668/0.01355, allocations: 326.9 kB / 281.8 MB, free: 8.559 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002922/0.01385, allocations: 462.9 kB / 282.2 MB, free: 8.105 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007587/0.01461, allocations: 1.016 MB / 283.3 MB, free: 7.086 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.01461, allocations: 0 / 283.3 MB, free: 7.086 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.01461, allocations: 4 kB / 283.3 MB, free: 7.082 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.122e-05/0.01462, allocations: 0 / 283.3 MB, free: 7.082 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: 242 * Number of variables: 242 Notification: Performance of Generate backend data structure: time 0.00155/0.01617, allocations: 1.531 MB / 284.8 MB, free: 5.512 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.22e-05/0.0162, allocations: 8.922 kB / 284.8 MB, free: 5.504 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000204/0.01641, allocations: 216.1 kB / 285 MB, free: 5.293 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008336/0.01724, allocations: 0.6396 MB / 285.7 MB, free: 4.621 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.088e-05/0.01729, allocations: 74.38 kB / 285.7 MB, free: 4.551 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.244e-05/0.01738, allocations: 100.3 kB / 285.8 MB, free: 4.453 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001044/0.01843, allocations: 0.7888 MB / 286.6 MB, free: 3.633 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.428e-05/0.01845, allocations: 3.938 kB / 286.6 MB, free: 3.629 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.559e-05/0.01851, allocations: 40 kB / 286.7 MB, free: 3.59 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.577e-05/0.01852, allocations: 28 kB / 286.7 MB, free: 3.562 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006428/0.01917, allocations: 413.5 kB / 287.1 MB, free: 3.156 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002718/0.02188, allocations: 2.773 MB / 289.9 MB, free: 284 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1104/0.1323, allocations: 498 kB / 290.3 MB, free: 28.74 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004735/0.1328, allocations: 187.7 kB / 290.5 MB, free: 28.71 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.802e-05/0.1328, allocations: 14.88 kB / 290.5 MB, free: 28.71 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.899e-05/0.1329, allocations: 41.77 kB / 290.6 MB, free: 28.67 MB / 266.7 MB Notification: Performance of pre-optimization done (n=58): time 2.625e-06/0.1329, allocations: 0 / 290.6 MB, free: 28.67 MB / 266.7 MB Notification: Performance of matching and sorting (n=67): time 0.002663/0.1355, allocations: 1.182 MB / 291.8 MB, free: 28.43 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.017e-05/0.1355, allocations: 84.94 kB / 291.9 MB, free: 28.33 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007597/0.1363, allocations: 0.7442 MB / 292.6 MB, free: 28.13 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.294e-05/0.1363, allocations: 36.08 kB / 292.6 MB, free: 28.1 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002782/0.1366, allocations: 0.601 MB / 293.2 MB, free: 27.82 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001388/0.1368, allocations: 238.8 kB / 293.5 MB, free: 27.7 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001898/0.1369, allocations: 165.3 kB / 293.6 MB, free: 27.67 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.1371, allocations: 0.5655 MB / 294.2 MB, free: 27.18 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002729/0.1374, allocations: 127 kB / 294.3 MB, free: 27.17 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003661/0.1377, allocations: 389.4 kB / 294.7 MB, free: 26.88 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005596/0.1383, allocations: 0.5253 MB / 295.2 MB, free: 26.58 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.571e-06/0.1383, allocations: 1.891 kB / 295.2 MB, free: 26.58 MB / 266.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.0009249/0.1392, allocations: 0.6469 MB / 295.9 MB, free: 26.48 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.325e-05/0.1393, allocations: 11.22 kB / 295.9 MB, free: 26.48 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/0.1393, allocations: 4.5 kB / 295.9 MB, free: 26.48 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.471e-05/0.1393, allocations: 10.69 kB / 295.9 MB, free: 26.48 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006215/0.1399, allocations: 245 kB / 296.1 MB, free: 26.48 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.752e-05/0.1399, allocations: 17.5 kB / 296.2 MB, free: 26.48 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003322/0.1403, allocations: 47.94 kB / 296.2 MB, free: 26.48 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.564e-05/0.1403, allocations: 33.22 kB / 296.2 MB, free: 26.48 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 (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 (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.0001866/0.1405, allocations: 212.5 kB / 296.4 MB, free: 26.32 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001202/0.1406, allocations: 114.8 kB / 296.6 MB, free: 26.27 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003228/0.1409, allocations: 235.9 kB / 296.8 MB, free: 26.22 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.275e-06/0.1409, allocations: 11.05 kB / 296.8 MB, free: 26.22 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.959e-06/0.141, allocations: 1.438 kB / 296.8 MB, free: 26.22 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/0.141, allocations: 3.469 kB / 296.8 MB, free: 26.22 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001943/0.1429, allocations: 1.71 MB / 298.5 MB, free: 25.35 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/0.1429, allocations: 9.844 kB / 298.5 MB, free: 25.35 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004113/0.1433, allocations: 177.8 kB / 298.7 MB, free: 25.34 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.153e-05/0.1433, allocations: 13.67 kB / 298.7 MB, free: 25.34 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.465e-05/0.1434, allocations: 26.48 kB / 298.7 MB, free: 25.33 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.228e-05/0.1434, allocations: 14.94 kB / 298.7 MB, free: 25.33 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/0.1434, allocations: 10.28 kB / 298.8 MB, free: 25.33 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007093/0.1441, allocations: 0.9407 MB / 299.7 MB, free: 24.55 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001076/0.1442, allocations: 98.23 kB / 299.8 MB, free: 24.49 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.301e-05/0.1443, allocations: 28.2 kB / 299.8 MB, free: 24.48 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002601/0.1445, allocations: 39.38 kB / 299.9 MB, free: 24.47 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.957e-05/0.1446, allocations: 62.2 kB / 299.9 MB, free: 24.46 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.275e-05/0.1447, allocations: 28.19 kB / 299.9 MB, free: 24.45 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0004393/0.1451, allocations: 479.8 kB / 300.4 MB, free: 24.26 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1451, allocations: 1.25 kB / 300.4 MB, free: 24.26 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005861/0.1457, allocations: 206.8 kB / 300.6 MB, free: 24.23 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.0007717/0.1465, allocations: 362.2 kB / 301 MB, free: 24.1 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006699/0.1471, allocations: 431.4 kB / 301.4 MB, free: 24 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.085e-06/0.1472, allocations: 1.094 kB / 301.4 MB, free: 24 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000263/0.1474, allocations: 194.2 kB / 301.6 MB, free: 23.95 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007334/0.1481, allocations: 213.8 kB / 301.8 MB, free: 23.88 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002085/0.1502, allocations: 1.745 MB / 303.5 MB, free: 22.7 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001444/0.1504, allocations: 180.2 kB / 303.7 MB, free: 22.63 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003185/0.1507, allocations: 114.6 kB / 303.8 MB, free: 22.59 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000153/0.1508, allocations: 71.16 kB / 303.9 MB, free: 22.58 MB / 266.7 MB Notification: Performance of SimCode: time 1.092e-06/0.1509, allocations: 0 / 303.9 MB, free: 22.58 MB / 266.7 MB Notification: Performance of Templates: time 0.01187/0.1627, allocations: 10.85 MB / 314.7 MB, free: 14.74 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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: 3.005072074010968]