Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.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.001903/0.001903, allocations: 99.53 kB / 20.97 MB, free: 3.457 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.001996/0.001996, allocations: 164.8 kB / 24.27 MB, free: 156 kB / 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.526/1.526, allocations: 177 MB / 204.5 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] 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.ForceStrokeBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=80000,variableFilter="time|feedX.flange.f|actuator.g_ma.G_m|actuator.g_mb.G_m|actuator.L",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=80000,variableFilter="time|feedX.flange.f|actuator.g_ma.G_m|actuator.g_mb.G_m|actuator.L",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 272.2 MB, free: 1.789 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.723e-05/2.855e-05, allocations: 2.312 kB / 272.2 MB, free: 1.785 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.007114/0.007142, allocations: 4.618 MB / 276.8 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003568/0.01071, allocations: 1.944 MB / 278.8 MB, free: 11.19 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002671/0.01098, allocations: 15.94 kB / 278.8 MB, free: 11.17 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007727/0.01175, allocations: 422 kB / 279.2 MB, free: 10.76 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009314/0.01268, allocations: 481.2 kB / 279.7 MB, free: 10.29 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006946/0.01338, allocations: 335.3 kB / 280 MB, free: 9.957 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001302/0.01468, allocations: 1.067 MB / 281.1 MB, free: 8.887 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003547/0.01503, allocations: 195 kB / 281.2 MB, free: 8.695 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008302/0.01586, allocations: 0.6004 MB / 281.8 MB, free: 8.094 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006628/0.01653, allocations: 454.9 kB / 282.3 MB, free: 7.648 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001537/0.01668, allocations: 100 kB / 282.4 MB, free: 7.551 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002592/0.01694, allocations: 135.9 kB / 282.5 MB, free: 7.418 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002617/0.0172, allocations: 251.2 kB / 282.8 MB, free: 7.172 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003691/0.01757, allocations: 307.2 kB / 283.1 MB, free: 6.871 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001569/0.01914, allocations: 1.32 MB / 284.4 MB, free: 5.547 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.494e-06/0.01914, allocations: 4 kB / 284.4 MB, free: 5.543 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.01914, allocations: 0 / 284.4 MB, free: 5.543 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.02e-05/0.01915, allocations: 0 / 284.4 MB, free: 5.543 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: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.002412/0.02156, allocations: 1.336 MB / 285.7 MB, free: 4.168 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.356e-05/0.0216, allocations: 8.031 kB / 285.7 MB, free: 4.16 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006124/0.02221, allocations: 188.2 kB / 285.9 MB, free: 3.977 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009641/0.02317, allocations: 0.5255 MB / 286.4 MB, free: 3.422 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.471e-05/0.02323, allocations: 45.69 kB / 286.5 MB, free: 3.379 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001049/0.02333, allocations: 64.38 kB / 286.5 MB, free: 3.316 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001281/0.02462, allocations: 0.6934 MB / 287.2 MB, free: 2.598 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.252e-05/0.02464, allocations: 0 / 287.2 MB, free: 2.598 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.257e-05/0.0247, allocations: 24 kB / 287.3 MB, free: 2.574 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.878e-05/0.02472, allocations: 16 kB / 287.3 MB, free: 2.559 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001196/0.02592, allocations: 0.4892 MB / 287.8 MB, free: 2.07 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1126/0.1385, allocations: 2.635 MB / 290.4 MB, free: 27.11 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008137/0.1393, allocations: 458.5 kB / 290.9 MB, free: 27.07 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005763/0.1399, allocations: 266 kB / 291.1 MB, free: 27.05 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.515e-05/0.1399, allocations: 11.06 kB / 291.1 MB, free: 27.05 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2e-05/0.1399, allocations: 45.17 kB / 291.2 MB, free: 27.01 MB / 266.7 MB Notification: Performance of pre-optimization done (n=50): time 2.155e-06/0.1399, allocations: 0 / 291.2 MB, free: 27.01 MB / 266.7 MB Notification: Performance of matching and sorting (n=63): time 0.003193/0.1431, allocations: 1.307 MB / 292.5 MB, free: 26.8 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.608e-05/0.1432, allocations: 58.78 kB / 292.5 MB, free: 26.73 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009153/0.1441, allocations: 0.9009 MB / 293.4 MB, free: 26.31 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.113e-05/0.1441, allocations: 37.17 kB / 293.5 MB, free: 26.27 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002618/0.1444, allocations: 0.5092 MB / 294 MB, free: 25.9 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001384/0.1445, allocations: 238.5 kB / 294.2 MB, free: 25.75 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002199/0.1447, allocations: 154.5 kB / 294.4 MB, free: 25.66 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001788/0.1449, allocations: 0.6244 MB / 295 MB, free: 25.11 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000422/0.1453, allocations: 206.6 kB / 295.2 MB, free: 25.04 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005114/0.1458, allocations: 364.1 kB / 295.5 MB, free: 24.82 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008785/0.1467, allocations: 0.5661 MB / 296.1 MB, free: 24.51 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.1467, allocations: 0 / 296.1 MB, free: 24.51 MB / 266.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001329/0.1481, allocations: 0.7045 MB / 296.8 MB, free: 24.23 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.1481, allocations: 5.469 kB / 296.8 MB, free: 24.23 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.615e-06/0.1481, allocations: 2.281 kB / 296.8 MB, free: 24.23 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.09e-05/0.1481, allocations: 6.969 kB / 296.8 MB, free: 24.23 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009976/0.1491, allocations: 165.4 kB / 297 MB, free: 24.21 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.735e-05/0.1491, allocations: 14.75 kB / 297 MB, free: 24.21 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006054/0.1497, allocations: 28.36 kB / 297 MB, free: 24.2 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.067e-05/0.1498, allocations: 27.38 kB / 297.1 MB, free: 24.19 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 2 (actuator.armature.stopper_xMin.contact,actuator.armature.stopper_xMax.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 85 * 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.0003105/0.1501, allocations: 253.8 kB / 297.3 MB, free: 23.97 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002026/0.1503, allocations: 99.61 kB / 297.4 MB, free: 23.92 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001527/0.1518, allocations: 0.5728 MB / 298 MB, free: 23.66 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.888e-06/0.1518, allocations: 6.688 kB / 298 MB, free: 23.66 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.1518, allocations: 0 / 298 MB, free: 23.66 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.267e-05/0.1519, allocations: 11.02 kB / 298 MB, free: 23.65 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003159/0.155, allocations: 1.716 MB / 299.7 MB, free: 22.64 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-06/0.155, allocations: 3.438 kB / 299.7 MB, free: 22.64 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005042/0.1555, allocations: 116.9 kB / 299.8 MB, free: 22.63 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.145e-06/0.1555, allocations: 6.688 kB / 299.8 MB, free: 22.63 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.582e-05/0.1556, allocations: 15.84 kB / 299.9 MB, free: 22.62 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.887e-06/0.1556, allocations: 10.58 kB / 299.9 MB, free: 22.62 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.608e-06/0.1556, allocations: 2.625 kB / 299.9 MB, free: 22.62 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009662/0.1566, allocations: 0.8137 MB / 300.7 MB, free: 22.09 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002312/0.1568, allocations: 126.2 kB / 300.8 MB, free: 22 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.523e-05/0.1569, allocations: 19.59 kB / 300.8 MB, free: 22 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003539/0.1572, allocations: 22.7 kB / 300.8 MB, free: 21.99 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/0.1573, allocations: 56.97 kB / 300.9 MB, free: 21.98 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.683e-05/0.1574, allocations: 19.25 kB / 300.9 MB, free: 21.97 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0006214/0.158, allocations: 0.5741 MB / 301.5 MB, free: 21.72 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.158, allocations: 0 / 301.5 MB, free: 21.72 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005956/0.1586, allocations: 151.5 kB / 301.6 MB, free: 21.7 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 2 (actuator.armature.stopper_xMax.contact,actuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 63 * 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.002528/0.1611, allocations: 402.1 kB / 302 MB, free: 21.6 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001068/0.1622, allocations: 0.5493 MB / 302.6 MB, free: 21.41 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.1622, allocations: 1.281 kB / 302.6 MB, free: 21.41 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000453/0.1626, allocations: 281.4 kB / 302.9 MB, free: 21.31 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000766/0.1634, allocations: 144.1 kB / 303 MB, free: 21.26 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002021/0.1654, allocations: 1.491 MB / 304.5 MB, free: 20.38 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003213/0.1657, allocations: 367.7 kB / 304.8 MB, free: 20.26 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003208/0.1661, allocations: 97.2 kB / 304.9 MB, free: 20.23 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001552/0.1662, allocations: 51.14 kB / 305 MB, free: 20.23 MB / 266.7 MB Notification: Performance of SimCode: time 5.41e-07/0.1662, allocations: 0 / 305 MB, free: 20.23 MB / 266.7 MB Notification: Performance of Templates: time 0.01193/0.1782, allocations: 7.803 MB / 312.8 MB, free: 13.35 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceStrokeBehaviour/ForceStrokeBehaviour.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.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.997654234990478]