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.0009844/0.0009844, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.0009477/0.0009477, allocations: 165 kB / 24.91 MB, free: 9.18 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 0.9399/0.9399, allocations: 177 MB / 205.2 MB, free: 5.465 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.262e-06/1.262e-06, allocations: 0 / 273.4 MB, free: 1.199 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.989e-06/1.125e-05, allocations: 2.312 kB / 273.4 MB, free: 1.195 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.005118/0.005129, allocations: 6.357 MB / 279.8 MB, free: 10.8 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002446/0.007575, allocations: 2.434 MB / 282.2 MB, free: 8.359 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000272/0.007847, allocations: 23.88 kB / 282.2 MB, free: 8.336 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005441/0.008391, allocations: 361.7 kB / 282.6 MB, free: 7.98 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006456/0.009037, allocations: 0.5546 MB / 283.1 MB, free: 7.422 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005036/0.00954, allocations: 455.1 kB / 283.6 MB, free: 6.977 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001237/0.01078, allocations: 1.619 MB / 285.2 MB, free: 5.348 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003605/0.01114, allocations: 342 kB / 285.5 MB, free: 4.984 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007448/0.01188, allocations: 0.92 MB / 286.5 MB, free: 4.062 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004579/0.01234, allocations: 0.5298 MB / 287 MB, free: 3.531 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001195/0.01246, allocations: 156 kB / 287.1 MB, free: 3.379 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001929/0.01265, allocations: 188 kB / 287.3 MB, free: 3.195 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000178/0.01283, allocations: 334.8 kB / 287.6 MB, free: 2.867 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002841/0.01312, allocations: 470.9 kB / 288.1 MB, free: 2.406 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008172/0.01393, allocations: 1.036 MB / 289.1 MB, free: 1.367 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.01394, allocations: 0 / 289.1 MB, free: 1.367 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.01394, allocations: 0 / 289.1 MB, free: 1.367 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.947e-06/0.01394, allocations: 4 kB / 289.1 MB, free: 1.363 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.1146/0.1285, allocations: 1.42 MB / 290.6 MB, free: 24.93 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.1286, allocations: 11.19 kB / 290.6 MB, free: 24.93 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005443/0.1291, allocations: 194 kB / 290.8 MB, free: 24.93 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007815/0.1299, allocations: 477.2 kB / 291.2 MB, free: 24.74 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.446e-05/0.13, allocations: 78.22 kB / 291.3 MB, free: 24.73 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001107/0.1301, allocations: 100.7 kB / 291.4 MB, free: 24.73 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003987/0.1341, allocations: 0.7307 MB / 292.1 MB, free: 24.58 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.816e-05/0.1341, allocations: 2.656 kB / 292.1 MB, free: 24.58 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.047e-05/0.1341, allocations: 39.78 kB / 292.2 MB, free: 24.58 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.092e-05/0.1342, allocations: 23.81 kB / 292.2 MB, free: 24.58 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005091/0.1347, allocations: 275.5 kB / 292.5 MB, free: 24.56 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006022/0.1407, allocations: 2.106 MB / 294.6 MB, free: 23.82 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008575/0.1415, allocations: 365.8 kB / 294.9 MB, free: 23.77 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001925/0.1417, allocations: 135.6 kB / 295.1 MB, free: 23.76 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.622e-05/0.1418, allocations: 15.95 kB / 295.1 MB, free: 23.76 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.207e-05/0.1418, allocations: 44.45 kB / 295.1 MB, free: 23.72 MB / 266.7 MB Notification: Performance of pre-optimization done (n=58): time 1.903e-06/0.1418, allocations: 0 / 295.1 MB, free: 23.72 MB / 266.7 MB Notification: Performance of matching and sorting (n=67): time 0.003831/0.1456, allocations: 0.8232 MB / 296 MB, free: 23.62 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.684e-05/0.1457, allocations: 85.58 kB / 296 MB, free: 23.53 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009001/0.1466, allocations: 0.7015 MB / 296.7 MB, free: 23.37 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.359e-05/0.1466, allocations: 38.86 kB / 296.8 MB, free: 23.34 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002471/0.1468, allocations: 492.6 kB / 297.3 MB, free: 23.05 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001586/0.147, allocations: 239.1 kB / 297.5 MB, free: 22.9 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002287/0.1472, allocations: 168.3 kB / 297.7 MB, free: 22.88 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.1474, allocations: 403.4 kB / 298 MB, free: 22.56 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002119/0.1476, allocations: 82.59 kB / 298.1 MB, free: 22.56 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000292/0.1479, allocations: 287.5 kB / 298.4 MB, free: 22.36 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000528/0.1484, allocations: 430.1 kB / 298.8 MB, free: 22.15 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/0.1484, allocations: 2.312 kB / 298.8 MB, free: 22.15 MB / 266.7 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.0008164/0.1492, allocations: 469.7 kB / 299.3 MB, free: 22.11 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.561e-05/0.1493, allocations: 9.688 kB / 299.3 MB, free: 22.11 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/0.1493, allocations: 5.219 kB / 299.3 MB, free: 22.11 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.843e-05/0.1493, allocations: 15.75 kB / 299.3 MB, free: 22.1 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009044/0.1502, allocations: 271.9 kB / 299.6 MB, free: 22.1 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.712e-05/0.1502, allocations: 18.95 kB / 299.6 MB, free: 22.1 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005211/0.1507, allocations: 39.23 kB / 299.6 MB, free: 22.1 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.163e-05/0.1508, allocations: 29.92 kB / 299.7 MB, free: 22.1 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.0002517/0.151, allocations: 167.5 kB / 299.8 MB, free: 21.98 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001498/0.1512, allocations: 75.16 kB / 299.9 MB, free: 21.98 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003579/0.1516, allocations: 197.4 kB / 300.1 MB, free: 21.93 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.018e-05/0.1516, allocations: 12.19 kB / 300.1 MB, free: 21.93 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/0.1516, allocations: 0 / 300.1 MB, free: 21.93 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.016e-05/0.1516, allocations: 4.234 kB / 300.1 MB, free: 21.93 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002036/0.1536, allocations: 1.18 MB / 301.3 MB, free: 21.4 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.848e-06/0.1536, allocations: 9.297 kB / 301.3 MB, free: 21.4 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005725/0.1542, allocations: 198.3 kB / 301.5 MB, free: 21.38 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.226e-05/0.1542, allocations: 11.19 kB / 301.5 MB, free: 21.38 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.494e-05/0.1542, allocations: 20.66 kB / 301.5 MB, free: 21.38 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.205e-05/0.1543, allocations: 11.19 kB / 301.5 MB, free: 21.38 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.025e-06/0.1543, allocations: 10.97 kB / 301.6 MB, free: 21.37 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005546/0.1548, allocations: 0.6446 MB / 302.2 MB, free: 20.89 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001558/0.155, allocations: 86.14 kB / 302.3 MB, free: 20.84 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.539e-05/0.1551, allocations: 24.84 kB / 302.3 MB, free: 20.84 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003936/0.1555, allocations: 38.53 kB / 302.3 MB, free: 20.82 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.909e-05/0.1556, allocations: 73.47 kB / 302.4 MB, free: 20.8 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.032e-05/0.1556, allocations: 22.94 kB / 302.4 MB, free: 20.8 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000411/0.156, allocations: 339.6 kB / 302.8 MB, free: 20.75 MB / 266.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.156, allocations: 0 / 302.8 MB, free: 20.75 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008749/0.1569, allocations: 208.7 kB / 303 MB, free: 20.73 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.001214/0.1581, allocations: 463.8 kB / 303.4 MB, free: 20.58 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006783/0.1588, allocations: 373.1 kB / 303.8 MB, free: 20.52 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.748e-05/0.1588, allocations: 14.78 kB / 303.8 MB, free: 20.51 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002078/0.159, allocations: 171.9 kB / 304 MB, free: 20.47 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009072/0.1599, allocations: 215.4 kB / 304.2 MB, free: 20.39 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001886/0.1618, allocations: 1.733 MB / 305.9 MB, free: 19.29 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001046/0.1619, allocations: 188.5 kB / 306.1 MB, free: 19.21 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003183/0.1622, allocations: 118.9 kB / 306.2 MB, free: 19.18 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003169/0.1625, allocations: 236.9 kB / 306.4 MB, free: 19 MB / 266.7 MB Notification: Performance of SimCode: time 1.062e-06/0.1625, allocations: 0 / 306.4 MB, free: 19 MB / 266.7 MB Notification: Performance of Templates: time 0.01322/0.1758, allocations: 11.37 MB / 317.8 MB, free: 7.973 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 -s gbode -gbm=radauIIA3 -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: 2.9214885737746954]