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.001921/0.001921, allocations: 99.86 kB / 20.96 MB, free: 3.461 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.00193/0.00193, allocations: 149.1 kB / 24.26 MB, free: 168 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 1.516/1.516, allocations: 173.4 MB / 200.8 MB, free: 9.316 MB / 186.7 MB " [Timeout remaining time 178] 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.533e-06/1.533e-06, allocations: 0 / 267.3 MB, free: 6.754 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.339e-05/2.493e-05, allocations: 2.312 kB / 267.3 MB, free: 6.75 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.009238/0.009263, allocations: 6.283 MB / 273.6 MB, free: 444 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004463/0.01373, allocations: 2.166 MB / 275.8 MB, free: 14.26 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005783/0.0143, allocations: 23.88 kB / 275.8 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008327/0.01514, allocations: 345.7 kB / 276.1 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001143/0.01628, allocations: 0.4964 MB / 276.6 MB, free: 13.39 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000923/0.0172, allocations: 459.2 kB / 277.1 MB, free: 12.95 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001885/0.01909, allocations: 1.591 MB / 278.7 MB, free: 11.35 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005807/0.01967, allocations: 325.9 kB / 279 MB, free: 11.01 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00117/0.02084, allocations: 0.881 MB / 279.9 MB, free: 10.12 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008845/0.02172, allocations: 0.5494 MB / 280.4 MB, free: 9.574 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002267/0.02195, allocations: 156 kB / 280.6 MB, free: 9.422 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003448/0.02229, allocations: 199.9 kB / 280.7 MB, free: 9.227 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000348/0.02264, allocations: 326.9 kB / 281.1 MB, free: 8.906 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005634/0.02321, allocations: 474.8 kB / 281.5 MB, free: 8.441 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002323/0.02553, allocations: 1.99 MB / 283.5 MB, free: 6.445 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.02553, allocations: 0 / 283.5 MB, free: 6.445 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.02553, allocations: 0 / 283.5 MB, free: 6.445 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.182e-05/0.02556, allocations: 3.938 kB / 283.5 MB, free: 6.441 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.003333/0.02889, allocations: 1.667 MB / 285.2 MB, free: 4.734 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.02892, allocations: 8.922 kB / 285.2 MB, free: 4.727 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000354/0.02928, allocations: 212.1 kB / 285.4 MB, free: 4.52 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001293/0.03057, allocations: 0.6767 MB / 286.1 MB, free: 3.812 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.843e-05/0.03065, allocations: 78.31 kB / 286.2 MB, free: 3.734 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001661/0.03081, allocations: 104.3 kB / 286.3 MB, free: 3.633 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002177/0.03299, allocations: 1.101 MB / 287.4 MB, free: 2.508 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.387e-05/0.03303, allocations: 3.938 kB / 287.4 MB, free: 2.504 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.441e-05/0.03312, allocations: 40 kB / 287.4 MB, free: 2.465 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.662e-05/0.03315, allocations: 28 kB / 287.4 MB, free: 2.438 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001889/0.03504, allocations: 0.8055 MB / 288.2 MB, free: 1.633 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1044/0.1395, allocations: 3.71 MB / 291.9 MB, free: 30.92 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00196/0.1414, allocations: 0.6773 MB / 292.6 MB, free: 30.75 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006112/0.142, allocations: 328.4 kB / 292.9 MB, free: 30.63 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.581e-05/0.1421, allocations: 18.06 kB / 293 MB, free: 30.63 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.29e-05/0.1421, allocations: 46.36 kB / 293 MB, free: 30.58 MB / 266.7 MB Notification: Performance of pre-optimization done (n=58): time 2.415e-06/0.1421, allocations: 0 / 293 MB, free: 30.58 MB / 266.7 MB Notification: Performance of matching and sorting (n=67): time 0.003766/0.1459, allocations: 1.642 MB / 294.7 MB, free: 29.9 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.968e-05/0.1459, allocations: 84.45 kB / 294.7 MB, free: 29.8 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001093/0.147, allocations: 0.9925 MB / 295.7 MB, free: 29.34 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.616e-05/0.147, allocations: 36.33 kB / 295.8 MB, free: 29.3 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003393/0.1474, allocations: 0.6503 MB / 296.4 MB, free: 28.84 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001517/0.1475, allocations: 261.6 kB / 296.7 MB, free: 28.68 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002813/0.1478, allocations: 200.7 kB / 296.9 MB, free: 28.57 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002023/0.148, allocations: 0.6376 MB / 297.5 MB, free: 28 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006786/0.1487, allocations: 298.4 kB / 297.8 MB, free: 27.91 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000777/0.1495, allocations: 0.5721 MB / 298.4 MB, free: 27.49 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001327/0.1508, allocations: 0.8405 MB / 299.2 MB, free: 26.95 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.1508, allocations: 1.281 kB / 299.2 MB, free: 26.95 MB / 266.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001852/0.1527, allocations: 0.9585 MB / 300.2 MB, free: 26.58 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/0.1527, allocations: 7.719 kB / 300.2 MB, free: 26.58 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/0.1527, allocations: 6.969 kB / 300.2 MB, free: 26.58 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.56e-05/0.1527, allocations: 13.2 kB / 300.2 MB, free: 26.58 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001045/0.1538, allocations: 248.7 kB / 300.4 MB, free: 26.56 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.802e-05/0.1538, allocations: 14.28 kB / 300.4 MB, free: 26.55 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006377/0.1544, allocations: 52.78 kB / 300.5 MB, free: 26.54 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.493e-05/0.1545, allocations: 37.52 kB / 300.5 MB, free: 26.53 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.0003111/0.1548, allocations: 306.5 kB / 300.8 MB, free: 26.27 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001636/0.155, allocations: 112.3 kB / 300.9 MB, free: 26.22 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007341/0.1557, allocations: 324 kB / 301.3 MB, free: 26.07 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.657e-06/0.1557, allocations: 14.67 kB / 301.3 MB, free: 26.07 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.318e-06/0.1557, allocations: 1.562 kB / 301.3 MB, free: 26.07 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.919e-06/0.1557, allocations: 3.469 kB / 301.3 MB, free: 26.07 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003473/0.1592, allocations: 2.415 MB / 303.7 MB, free: 24.56 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.1592, allocations: 9.062 kB / 303.7 MB, free: 24.56 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006817/0.1599, allocations: 183.2 kB / 303.9 MB, free: 24.54 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.777e-06/0.1599, allocations: 10.88 kB / 303.9 MB, free: 24.54 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.022e-05/0.1599, allocations: 24.61 kB / 303.9 MB, free: 24.54 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.516e-06/0.1599, allocations: 13.62 kB / 303.9 MB, free: 24.53 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.1599, allocations: 7.875 kB / 303.9 MB, free: 24.53 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001197/0.1611, allocations: 1.172 MB / 305.1 MB, free: 23.63 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001453/0.1613, allocations: 101.4 kB / 305.2 MB, free: 23.57 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001063/0.1614, allocations: 20.33 kB / 305.2 MB, free: 23.56 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005129/0.1619, allocations: 40.2 kB / 305.3 MB, free: 23.55 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001144/0.162, allocations: 75.3 kB / 305.3 MB, free: 23.52 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.923e-05/0.1621, allocations: 26.81 kB / 305.4 MB, free: 23.52 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0006182/0.1627, allocations: 0.6071 MB / 306 MB, free: 23.24 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1627, allocations: 0 / 306 MB, free: 23.24 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007456/0.1634, allocations: 210.1 kB / 306.2 MB, free: 23.2 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.002394/0.1658, allocations: 406.2 kB / 306.6 MB, free: 23.02 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001286/0.1671, allocations: 0.7281 MB / 307.3 MB, free: 22.36 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.1671, allocations: 0 / 307.3 MB, free: 22.36 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005051/0.1676, allocations: 341.6 kB / 307.6 MB, free: 22.06 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001019/0.1686, allocations: 217.8 kB / 307.9 MB, free: 21.89 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00228/0.1709, allocations: 1.902 MB / 309.8 MB, free: 19.95 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003057/0.1712, allocations: 435.6 kB / 310.2 MB, free: 19.52 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003936/0.1716, allocations: 112.4 kB / 310.3 MB, free: 19.41 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001927/0.1718, allocations: 68.47 kB / 310.4 MB, free: 19.34 MB / 266.7 MB Notification: Performance of SimCode: time 5.51e-07/0.1718, allocations: 0 / 310.4 MB, free: 19.34 MB / 266.7 MB Notification: Performance of Templates: time 0.01487/0.1867, allocations: 10.24 MB / 320.6 MB, free: 9.293 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.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: 4.814608130953275]