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.0009133/0.0009133, allocations: 71.75 kB / 21.69 MB, free: 2.84 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.0009908/0.0009908, allocations: 160.7 kB / 24.99 MB, free: 9.355 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.9594/0.9594, allocations: 177.1 MB / 205.3 MB, free: 5.617 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 2.225e-06/2.225e-06, allocations: 0 / 273.1 MB, free: 1.832 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.425e-05/2.647e-05, allocations: 2.312 kB / 273.1 MB, free: 1.828 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.007784/0.007811, allocations: 6.42 MB / 279.5 MB, free: 11.37 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002885/0.0107, allocations: 2.369 MB / 281.8 MB, free: 8.996 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003875/0.01108, allocations: 19.94 kB / 281.9 MB, free: 8.977 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006088/0.01169, allocations: 361.6 kB / 282.2 MB, free: 8.621 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008293/0.01252, allocations: 0.5547 MB / 282.8 MB, free: 8.062 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005922/0.01311, allocations: 455.1 kB / 283.2 MB, free: 7.617 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001089/0.0142, allocations: 1.611 MB / 284.8 MB, free: 5.996 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003968/0.0146, allocations: 330 kB / 285.2 MB, free: 5.652 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007582/0.01536, allocations: 0.9199 MB / 286.1 MB, free: 4.73 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000484/0.01584, allocations: 0.5571 MB / 286.6 MB, free: 4.172 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001275/0.01597, allocations: 160 kB / 286.8 MB, free: 4.016 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002067/0.01618, allocations: 192 kB / 287 MB, free: 3.828 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000202/0.01638, allocations: 338.8 kB / 287.3 MB, free: 3.496 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003199/0.0167, allocations: 482.8 kB / 287.8 MB, free: 3.023 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001054/0.01775, allocations: 1.047 MB / 288.8 MB, free: 1.973 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.01776, allocations: 3.938 kB / 288.8 MB, free: 1.969 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.01776, allocations: 4 kB / 288.8 MB, free: 1.965 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.341e-05/0.01777, allocations: 0 / 288.8 MB, free: 1.965 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.002173/0.01994, allocations: 1.577 MB / 290.4 MB, free: 356 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.01998, allocations: 12.03 kB / 290.4 MB, free: 344 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005087/0.02049, allocations: 244.1 kB / 290.7 MB, free: 100 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1107/0.1312, allocations: 0.6802 MB / 291.3 MB, free: 29.06 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.639e-05/0.1313, allocations: 73.53 kB / 291.4 MB, free: 29.06 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001398/0.1314, allocations: 101.6 kB / 291.5 MB, free: 29.06 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001164/0.1326, allocations: 0.7717 MB / 292.3 MB, free: 28.77 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.865e-05/0.1326, allocations: 2.969 kB / 292.3 MB, free: 28.77 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.399e-05/0.1326, allocations: 41.12 kB / 292.3 MB, free: 28.74 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.037e-05/0.1327, allocations: 23.06 kB / 292.3 MB, free: 28.74 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007252/0.1334, allocations: 410.4 kB / 292.7 MB, free: 28.68 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003047/0.1364, allocations: 2.795 MB / 295.5 MB, free: 26.99 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009382/0.1374, allocations: 426 kB / 296 MB, free: 26.86 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002538/0.1376, allocations: 175.5 kB / 296.1 MB, free: 26.81 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.866e-05/0.1377, allocations: 17.58 kB / 296.1 MB, free: 26.81 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.278e-05/0.1377, allocations: 44.38 kB / 296.2 MB, free: 26.76 MB / 266.7 MB Notification: Performance of pre-optimization done (n=58): time 2.304e-06/0.1377, allocations: 0 / 296.2 MB, free: 26.76 MB / 266.7 MB Notification: Performance of matching and sorting (n=67): time 0.001727/0.1394, allocations: 1.178 MB / 297.4 MB, free: 26.25 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.812e-05/0.1394, allocations: 86.12 kB / 297.5 MB, free: 26.16 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007294/0.1402, allocations: 0.7952 MB / 298.2 MB, free: 25.82 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.905e-05/0.1402, allocations: 35.67 kB / 298.3 MB, free: 25.78 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002398/0.1404, allocations: 0.6235 MB / 298.9 MB, free: 25.28 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001123/0.1406, allocations: 239.8 kB / 299.1 MB, free: 25.09 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001663/0.1407, allocations: 169.3 kB / 299.3 MB, free: 25 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001243/0.1409, allocations: 0.5689 MB / 299.9 MB, free: 24.47 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002397/0.1411, allocations: 125.6 kB / 300 MB, free: 24.45 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000309/0.1414, allocations: 388.5 kB / 300.4 MB, free: 24.11 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005288/0.1419, allocations: 0.5262 MB / 300.9 MB, free: 23.71 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.1419, allocations: 1.438 kB / 300.9 MB, free: 23.71 MB / 266.7 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.0008435/0.1428, allocations: 0.6609 MB / 301.6 MB, free: 23.48 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.1428, allocations: 7 kB / 301.6 MB, free: 23.48 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.278e-06/0.1428, allocations: 5.969 kB / 301.6 MB, free: 23.48 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-05/0.1428, allocations: 10.94 kB / 301.6 MB, free: 23.48 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005624/0.1434, allocations: 250.5 kB / 301.8 MB, free: 23.45 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.375e-05/0.1434, allocations: 10.47 kB / 301.8 MB, free: 23.45 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003125/0.1437, allocations: 39.06 kB / 301.9 MB, free: 23.44 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.486e-05/0.1438, allocations: 41.62 kB / 301.9 MB, free: 23.43 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 (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.0001693/0.1439, allocations: 209.8 kB / 302.1 MB, free: 23.23 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00012/0.144, allocations: 115.1 kB / 302.2 MB, free: 23.17 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003119/0.1444, allocations: 237.2 kB / 302.5 MB, free: 23.05 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.1444, allocations: 6.656 kB / 302.5 MB, free: 23.05 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.1444, allocations: 1.125 kB / 302.5 MB, free: 23.05 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.706e-06/0.1444, allocations: 4.812 kB / 302.5 MB, free: 23.05 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001718/0.1461, allocations: 1.723 MB / 304.2 MB, free: 21.9 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.1461, allocations: 7.844 kB / 304.2 MB, free: 21.9 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003795/0.1465, allocations: 180.4 kB / 304.4 MB, free: 21.88 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.027e-06/0.1465, allocations: 9.812 kB / 304.4 MB, free: 21.88 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.145e-05/0.1465, allocations: 26.36 kB / 304.4 MB, free: 21.88 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.013e-05/0.1465, allocations: 15.22 kB / 304.4 MB, free: 21.87 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.673e-06/0.1465, allocations: 7.656 kB / 304.4 MB, free: 21.87 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006274/0.1472, allocations: 0.9401 MB / 305.4 MB, free: 21.09 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.661e-05/0.1473, allocations: 111.5 kB / 305.5 MB, free: 21.01 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.206e-05/0.1473, allocations: 23.98 kB / 305.5 MB, free: 21 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002669/0.1476, allocations: 33.92 kB / 305.6 MB, free: 20.98 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.279e-05/0.1477, allocations: 63.88 kB / 305.6 MB, free: 20.95 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.444e-05/0.1477, allocations: 33.56 kB / 305.6 MB, free: 20.93 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0004073/0.1481, allocations: 0.4961 MB / 306.1 MB, free: 20.66 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1481, allocations: 0.5 kB / 306.1 MB, free: 20.66 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004971/0.1486, allocations: 212.2 kB / 306.4 MB, free: 20.64 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.0006957/0.1493, allocations: 373.6 kB / 306.7 MB, free: 20.5 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005258/0.1498, allocations: 435.5 kB / 307.1 MB, free: 20.34 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1499, allocations: 0 / 307.1 MB, free: 20.34 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001933/0.15, allocations: 195.2 kB / 307.3 MB, free: 20.18 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00068/0.1507, allocations: 230.7 kB / 307.6 MB, free: 19.97 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001704/0.1524, allocations: 1.796 MB / 309.4 MB, free: 18.03 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.295e-05/0.1525, allocations: 188.6 kB / 309.5 MB, free: 17.82 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002815/0.1528, allocations: 117.2 kB / 309.7 MB, free: 17.71 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001241/0.1529, allocations: 72.47 kB / 309.7 MB, free: 17.64 MB / 266.7 MB Notification: Performance of SimCode: time 8.51e-07/0.1529, allocations: 0 / 309.7 MB, free: 17.64 MB / 266.7 MB Notification: Performance of Templates: time 0.01138/0.1643, allocations: 10.68 MB / 320.4 MB, free: 7.16 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 -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: 3.139624265022576]