Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009103/0.0009103, allocations: 79.69 kB / 21.7 MB, free: 2.848 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000922/0.000922, allocations: 162.4 kB / 24.99 MB, free: 9.281 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.001/1.001, allocations: 177 MB / 205.2 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 273 MB, free: 1.777 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.399e-05/2.544e-05, allocations: 6.312 kB / 273 MB, free: 1.77 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.006118/0.006143, allocations: 6.43 MB / 279.4 MB, free: 11.3 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004068/0.01021, allocations: 2.36 MB / 281.8 MB, free: 8.934 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005623/0.01077, allocations: 23.94 kB / 281.8 MB, free: 8.91 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006912/0.01146, allocations: 353.7 kB / 282.2 MB, free: 8.562 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00105/0.01251, allocations: 0.5624 MB / 282.7 MB, free: 7.996 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008006/0.01332, allocations: 463.1 kB / 283.2 MB, free: 7.543 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001135/0.01445, allocations: 1.611 MB / 284.8 MB, free: 5.922 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000398/0.01485, allocations: 330 kB / 285.1 MB, free: 5.582 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007883/0.01564, allocations: 0.9044 MB / 286 MB, free: 4.676 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005041/0.01614, allocations: 0.5532 MB / 286.6 MB, free: 4.121 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001296/0.01627, allocations: 164 kB / 286.7 MB, free: 3.961 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002447/0.01652, allocations: 195.9 kB / 286.9 MB, free: 3.77 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002141/0.01673, allocations: 342.9 kB / 287.2 MB, free: 3.434 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003147/0.01704, allocations: 482.8 kB / 287.7 MB, free: 2.961 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001127/0.01817, allocations: 1.051 MB / 288.8 MB, free: 1.906 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.01818, allocations: 0 / 288.8 MB, free: 1.906 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.01818, allocations: 0 / 288.8 MB, free: 1.906 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.739e-06/0.01819, allocations: 0 / 288.8 MB, free: 1.906 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.001768/0.01996, allocations: 1.585 MB / 290.4 MB, free: 288 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.02, allocations: 12.03 kB / 290.4 MB, free: 276 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004142/0.02041, allocations: 244.1 kB / 290.6 MB, free: 32 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1106/0.131, allocations: 0.6708 MB / 291.3 MB, free: 28.46 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.708e-05/0.1311, allocations: 77.84 kB / 291.4 MB, free: 28.46 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000144/0.1312, allocations: 98.45 kB / 291.5 MB, free: 28.46 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001377/0.1326, allocations: 0.7773 MB / 292.2 MB, free: 28.3 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.341e-05/0.1326, allocations: 2.016 kB / 292.2 MB, free: 28.3 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.987e-05/0.1327, allocations: 37.97 kB / 292.3 MB, free: 28.3 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.588e-05/0.1327, allocations: 25.31 kB / 292.3 MB, free: 28.3 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009456/0.1336, allocations: 409.8 kB / 292.7 MB, free: 28.28 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003979/0.1376, allocations: 2.785 MB / 295.5 MB, free: 26.73 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001194/0.1388, allocations: 433.8 kB / 295.9 MB, free: 26.59 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003164/0.1391, allocations: 174.1 kB / 296.1 MB, free: 26.54 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.182e-05/0.1392, allocations: 13.25 kB / 296.1 MB, free: 26.54 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/0.1392, allocations: 41.95 kB / 296.1 MB, free: 26.5 MB / 266.7 MB Notification: Performance of pre-optimization done (n=58): time 2.996e-06/0.1392, allocations: 0 / 296.1 MB, free: 26.5 MB / 266.7 MB Notification: Performance of matching and sorting (n=67): time 0.002303/0.1415, allocations: 1.178 MB / 297.3 MB, free: 25.99 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.621e-05/0.1415, allocations: 88.11 kB / 297.4 MB, free: 25.89 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009336/0.1425, allocations: 0.7881 MB / 298.2 MB, free: 25.55 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.252e-05/0.1425, allocations: 36.05 kB / 298.2 MB, free: 25.52 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003176/0.1428, allocations: 0.6255 MB / 298.8 MB, free: 25.02 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001483/0.143, allocations: 246.5 kB / 299.1 MB, free: 24.83 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002365/0.1432, allocations: 169.7 kB / 299.2 MB, free: 24.73 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.1434, allocations: 0.5682 MB / 299.8 MB, free: 24.2 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003307/0.1437, allocations: 121.3 kB / 299.9 MB, free: 24.19 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004068/0.1441, allocations: 387.7 kB / 300.3 MB, free: 23.86 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006634/0.1448, allocations: 0.5282 MB / 300.8 MB, free: 23.46 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.581e-06/0.1448, allocations: 1.125 kB / 300.8 MB, free: 23.46 MB / 266.7 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.001096/0.1459, allocations: 0.6594 MB / 301.5 MB, free: 23.22 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.335e-05/0.1459, allocations: 7.969 kB / 301.5 MB, free: 23.22 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.364e-05/0.1459, allocations: 9.812 kB / 301.5 MB, free: 23.21 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.863e-05/0.1459, allocations: 10.41 kB / 301.5 MB, free: 23.21 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00079/0.1467, allocations: 249.7 kB / 301.8 MB, free: 23.2 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.09e-05/0.1467, allocations: 11.45 kB / 301.8 MB, free: 23.2 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000498/0.1472, allocations: 38.89 kB / 301.8 MB, free: 23.18 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.122e-05/0.1473, allocations: 39.05 kB / 301.9 MB, free: 23.18 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.0002261/0.1475, allocations: 212.5 kB / 302.1 MB, free: 22.97 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001565/0.1477, allocations: 119.2 kB / 302.2 MB, free: 22.91 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003961/0.1481, allocations: 233.5 kB / 302.4 MB, free: 22.79 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.146e-06/0.1481, allocations: 8.266 kB / 302.4 MB, free: 22.79 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/0.1481, allocations: 0 / 302.4 MB, free: 22.79 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-06/0.1481, allocations: 4.922 kB / 302.4 MB, free: 22.79 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002191/0.1503, allocations: 1.719 MB / 304.1 MB, free: 21.64 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.506e-06/0.1503, allocations: 6.094 kB / 304.1 MB, free: 21.64 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005132/0.1508, allocations: 190.6 kB / 304.3 MB, free: 21.62 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.068e-05/0.1508, allocations: 9.062 kB / 304.3 MB, free: 21.62 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.769e-05/0.1509, allocations: 24.08 kB / 304.4 MB, free: 21.61 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.046e-05/0.1509, allocations: 10.31 kB / 304.4 MB, free: 21.61 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.183e-06/0.1509, allocations: 11.53 kB / 304.4 MB, free: 21.61 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007699/0.1517, allocations: 0.9387 MB / 305.3 MB, free: 20.83 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001307/0.1518, allocations: 113.4 kB / 305.4 MB, free: 20.75 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.104e-05/0.1519, allocations: 18.12 kB / 305.5 MB, free: 20.74 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004074/0.1523, allocations: 45.41 kB / 305.5 MB, free: 20.72 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001/0.1524, allocations: 67.88 kB / 305.6 MB, free: 20.68 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.729e-05/0.1524, allocations: 25.78 kB / 305.6 MB, free: 20.68 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0005113/0.1529, allocations: 0.4953 MB / 306.1 MB, free: 20.4 MB / 266.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1529, allocations: 3.938 kB / 306.1 MB, free: 20.4 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007339/0.1537, allocations: 210.9 kB / 306.3 MB, free: 20.38 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.0009133/0.1546, allocations: 365.2 kB / 306.7 MB, free: 20.24 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007046/0.1553, allocations: 437.3 kB / 307.1 MB, free: 20.09 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.1553, allocations: 0 / 307.1 MB, free: 20.09 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002566/0.1555, allocations: 200 kB / 307.3 MB, free: 19.92 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009572/0.1565, allocations: 218.2 kB / 307.5 MB, free: 19.72 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002236/0.1587, allocations: 1.798 MB / 309.3 MB, free: 17.78 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001334/0.1589, allocations: 184.6 kB / 309.5 MB, free: 17.57 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000381/0.1593, allocations: 126.2 kB / 309.6 MB, free: 17.45 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001605/0.1594, allocations: 72.48 kB / 309.7 MB, free: 17.38 MB / 266.7 MB Notification: Performance of SimCode: time 1.443e-06/0.1594, allocations: 0 / 309.7 MB, free: 17.38 MB / 266.7 MB Notification: Performance of Templates: time 0.01286/0.1723, allocations: 10.67 MB / 320.3 MB, free: 6.875 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.158880443079397]