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.001733/0.001733, allocations: 74.25 kB / 21.24 MB, free: 0.5469 MB / 14.72 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.001954/0.001954, allocations: 159.3 kB / 24.5 MB, free: 3.719 MB / 14.72 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 1.44/1.44, allocations: 177.2 MB / 204.9 MB, free: 9 MB / 190.1 MB " [Timeout remaining time 178] 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 0.00243/0.00243, allocations: 51.75 kB / 325.6 MB, free: 264 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09871/0.1011, allocations: 53.34 MB / 378.9 MB, free: 15.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.007987/0.1091, allocations: 5.821 MB / 384.7 MB, free: 9.816 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004042/0.1132, allocations: 2.291 MB / 387 MB, free: 7.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005115/0.1137, allocations: 19.94 kB / 387 MB, free: 7.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008073/0.1145, allocations: 357.7 kB / 387.4 MB, free: 7.148 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001155/0.1156, allocations: 0.5394 MB / 387.9 MB, free: 6.605 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008792/0.1165, allocations: 466.2 kB / 388.4 MB, free: 6.152 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001551/0.1181, allocations: 1.569 MB / 389.9 MB, free: 4.578 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005291/0.1186, allocations: 322 kB / 390.3 MB, free: 4.238 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007395/0.1193, allocations: 0.6074 MB / 390.9 MB, free: 3.629 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007968/0.1201, allocations: 0.6144 MB / 391.5 MB, free: 3.012 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002029/0.1203, allocations: 160 kB / 391.6 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003128/0.1207, allocations: 196 kB / 391.8 MB, free: 2.664 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003106/0.121, allocations: 330.9 kB / 392.1 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000559/0.1215, allocations: 0.5522 MB / 392.7 MB, free: 1.785 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002059/0.1236, allocations: 1.997 MB / 394.7 MB, free: 15.78 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1236, allocations: 0 / 394.7 MB, free: 15.78 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1236, allocations: 0 / 394.7 MB, free: 15.78 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.401e-05/0.1236, allocations: 0 / 394.7 MB, free: 15.78 MB / 366.1 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.002918/0.1265, allocations: 1.508 MB / 396.2 MB, free: 14.24 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.337e-05/0.1266, allocations: 12.03 kB / 396.2 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005421/0.1271, allocations: 164.1 kB / 396.4 MB, free: 14.07 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001261/0.1284, allocations: 0.6775 MB / 397.1 MB, free: 13.36 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.552e-05/0.1284, allocations: 74 kB / 397.1 MB, free: 13.29 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000147/0.1286, allocations: 96 kB / 397.2 MB, free: 13.19 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001896/0.1305, allocations: 1.032 MB / 398.3 MB, free: 12.14 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.125e-05/0.1305, allocations: 4 kB / 398.3 MB, free: 12.13 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.938e-05/0.1306, allocations: 44 kB / 398.3 MB, free: 12.09 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.015e-05/0.1306, allocations: 20 kB / 398.3 MB, free: 12.07 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002194/0.1328, allocations: 0.8055 MB / 399.1 MB, free: 11.27 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005197/0.138, allocations: 2.904 MB / 402 MB, free: 8.258 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002103/0.1401, allocations: 0.5895 MB / 402.6 MB, free: 7.652 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006305/0.1407, allocations: 292.8 kB / 402.9 MB, free: 7.363 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.277e-05/0.1408, allocations: 12 kB / 402.9 MB, free: 7.352 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.602e-05/0.1408, allocations: 38.94 kB / 403 MB, free: 7.305 MB / 366.1 MB Notification: Performance of pre-optimization done (n=58): time 1.954e-06/0.1408, allocations: 3.938 kB / 403 MB, free: 7.301 MB / 366.1 MB Notification: Performance of matching and sorting (n=67): time 0.004331/0.1452, allocations: 1.675 MB / 404.6 MB, free: 5.621 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.771e-05/0.1452, allocations: 81.11 kB / 404.7 MB, free: 5.523 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001211/0.1464, allocations: 0.9147 MB / 405.6 MB, free: 4.594 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.591e-05/0.1465, allocations: 37.7 kB / 405.7 MB, free: 4.551 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004631/0.1469, allocations: 0.5699 MB / 406.2 MB, free: 3.973 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002031/0.1471, allocations: 242 kB / 406.5 MB, free: 3.734 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002773/0.1474, allocations: 166.5 kB / 406.6 MB, free: 3.566 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002168/0.1476, allocations: 398.7 kB / 407 MB, free: 3.168 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007925/0.1484, allocations: 301.8 kB / 407.3 MB, free: 2.871 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009571/0.1494, allocations: 0.4951 MB / 407.8 MB, free: 2.301 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001667/0.151, allocations: 0.7785 MB / 408.6 MB, free: 1.449 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.277e-06/0.1511, allocations: 0 / 408.6 MB, free: 1.449 MB / 366.1 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.00211/0.1532, allocations: 0.9592 MB / 409.5 MB, free: 496 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.1532, allocations: 8 kB / 409.6 MB, free: 488 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.1532, allocations: 7.938 kB / 409.6 MB, free: 480 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.55e-05/0.1532, allocations: 12.41 kB / 409.6 MB, free: 468 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001232/0.1544, allocations: 275.6 kB / 409.8 MB, free: 192 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.677e-05/0.1545, allocations: 11.94 kB / 409.9 MB, free: 180 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007043/0.1552, allocations: 55.94 kB / 409.9 MB, free: 124 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.758e-05/0.1552, allocations: 40 kB / 410 MB, free: 84 kB / 366.1 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.0004171/0.1557, allocations: 293.5 kB / 410.2 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001647/0.1558, allocations: 95.38 kB / 410.3 MB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008005/0.1566, allocations: 337.4 kB / 410.7 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.766e-06/0.1566, allocations: 8 kB / 410.7 MB, free: 15.35 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.1566, allocations: 4 kB / 410.7 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.217e-06/0.1566, allocations: 3.984 kB / 410.7 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003703/0.1603, allocations: 2.008 MB / 412.7 MB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.398e-06/0.1604, allocations: 7.938 kB / 412.7 MB, free: 13.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008998/0.1613, allocations: 203.7 kB / 412.9 MB, free: 13 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.328e-05/0.1613, allocations: 16.22 kB / 412.9 MB, free: 12.99 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.451e-05/0.1613, allocations: 23.98 kB / 412.9 MB, free: 12.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.06e-05/0.1613, allocations: 15.94 kB / 412.9 MB, free: 12.95 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-05/0.1613, allocations: 11.94 kB / 413 MB, free: 12.94 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00175/0.1631, allocations: 1.014 MB / 414 MB, free: 11.82 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001754/0.1633, allocations: 111.2 kB / 414.1 MB, free: 11.71 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001011/0.1634, allocations: 19.98 kB / 414.1 MB, free: 11.69 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006297/0.164, allocations: 51.95 kB / 414.2 MB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001135/0.1641, allocations: 67.78 kB / 414.2 MB, free: 11.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.575e-05/0.1642, allocations: 24 kB / 414.2 MB, free: 11.55 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008147/0.165, allocations: 0.6201 MB / 414.9 MB, free: 10.93 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.165, allocations: 0 / 414.9 MB, free: 10.93 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007829/0.1657, allocations: 211.9 kB / 415.1 MB, free: 10.72 MB / 382.1 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.001415/0.1672, allocations: 416.8 kB / 415.5 MB, free: 10.46 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001644/0.1688, allocations: 0.7068 MB / 416.2 MB, free: 9.758 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.1688, allocations: 0 / 416.2 MB, free: 9.758 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008079/0.1696, allocations: 349.3 kB / 416.5 MB, free: 9.418 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001131/0.1707, allocations: 210.1 kB / 416.7 MB, free: 9.219 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003189/0.1739, allocations: 1.937 MB / 418.7 MB, free: 7.16 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004791/0.1744, allocations: 444.2 kB / 419.1 MB, free: 6.699 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004473/0.1749, allocations: 130.7 kB / 419.2 MB, free: 6.566 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002443/0.1751, allocations: 68.48 kB / 419.3 MB, free: 6.5 MB / 382.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1751, allocations: 0 / 419.3 MB, free: 6.5 MB / 382.1 MB Notification: Performance of Templates: time 0.01996/0.1951, allocations: 10.7 MB / 430 MB, free: 11.98 MB / 398.1 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=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceCurrentBehaviour/ForceCurrentBehaviour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.6408123939763755]