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.001555/0.001555, allocations: 81.55 kB / 21.25 MB, free: 0.5469 MB / 14.72 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.001746/0.001746, allocations: 158.5 kB / 24.5 MB, free: 3.719 MB / 14.72 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.422/1.422, allocations: 177.1 MB / 204.7 MB, free: 8.996 MB / 190.1 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.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 0.001892/0.001892, allocations: 66.5 kB / 325.5 MB, free: 192 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09135/0.09324, allocations: 53.39 MB / 378.9 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.00775/0.101, allocations: 5.828 MB / 384.8 MB, free: 9.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003753/0.1047, allocations: 2.287 MB / 387 MB, free: 7.297 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003681/0.1051, allocations: 23.88 kB / 387.1 MB, free: 7.273 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007053/0.1058, allocations: 357.7 kB / 387.4 MB, free: 6.922 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001014/0.1068, allocations: 0.5394 MB / 388 MB, free: 6.379 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007893/0.1076, allocations: 459.2 kB / 388.4 MB, free: 5.934 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001549/0.1092, allocations: 1.565 MB / 390 MB, free: 4.363 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005086/0.1097, allocations: 330 kB / 390.3 MB, free: 4.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000693/0.1104, allocations: 0.6074 MB / 390.9 MB, free: 3.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008098/0.1112, allocations: 0.6067 MB / 391.5 MB, free: 2.801 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002097/0.1114, allocations: 160 kB / 391.7 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003099/0.1117, allocations: 203.9 kB / 391.9 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002989/0.112, allocations: 331 kB / 392.2 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005609/0.1126, allocations: 0.5444 MB / 392.7 MB, free: 1.574 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00193/0.1145, allocations: 2.004 MB / 394.7 MB, free: 15.56 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1145, allocations: 0 / 394.7 MB, free: 15.56 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1145, allocations: 0 / 394.7 MB, free: 15.56 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.053e-05/0.1145, allocations: 0 / 394.7 MB, free: 15.56 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.002903/0.1174, allocations: 1.501 MB / 396.2 MB, free: 14.03 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.1175, allocations: 8.031 kB / 396.2 MB, free: 14.02 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005765/0.118, allocations: 172.1 kB / 396.4 MB, free: 13.85 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001445/0.1195, allocations: 0.6741 MB / 397.1 MB, free: 13.15 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.457e-05/0.1196, allocations: 74 kB / 397.2 MB, free: 13.07 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001431/0.1197, allocations: 96 kB / 397.3 MB, free: 12.98 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00185/0.1215, allocations: 1.036 MB / 398.3 MB, free: 11.92 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.494e-05/0.1216, allocations: 4 kB / 398.3 MB, free: 11.92 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-05/0.1217, allocations: 40 kB / 398.3 MB, free: 11.88 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.07e-05/0.1217, allocations: 24 kB / 398.4 MB, free: 11.86 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001723/0.1234, allocations: 0.8055 MB / 399.2 MB, free: 11.05 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004924/0.1283, allocations: 2.904 MB / 402.1 MB, free: 8.043 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002027/0.1304, allocations: 0.5906 MB / 402.7 MB, free: 7.434 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000616/0.131, allocations: 299.6 kB / 402.9 MB, free: 7.137 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.819e-05/0.131, allocations: 8 kB / 403 MB, free: 7.129 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.7e-05/0.1311, allocations: 38.56 kB / 403 MB, free: 7.082 MB / 366.1 MB Notification: Performance of pre-optimization done (n=58): time 1.984e-06/0.1311, allocations: 0 / 403 MB, free: 7.082 MB / 366.1 MB Notification: Performance of matching and sorting (n=67): time 0.004238/0.1353, allocations: 1.674 MB / 404.7 MB, free: 5.402 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.433e-05/0.1354, allocations: 93.05 kB / 404.8 MB, free: 5.293 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001193/0.1366, allocations: 0.9108 MB / 405.7 MB, free: 4.367 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.575e-05/0.1366, allocations: 37.7 kB / 405.7 MB, free: 4.324 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004368/0.137, allocations: 0.5738 MB / 406.3 MB, free: 3.742 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001952/0.1372, allocations: 238 kB / 406.5 MB, free: 3.508 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002655/0.1375, allocations: 166.5 kB / 406.7 MB, free: 3.34 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000213/0.1377, allocations: 394.7 kB / 407.1 MB, free: 2.945 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000776/0.1385, allocations: 313.8 kB / 407.4 MB, free: 2.637 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009706/0.1395, allocations: 499.1 kB / 407.9 MB, free: 2.078 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001825/0.1413, allocations: 0.7785 MB / 408.6 MB, free: 1.227 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.206e-06/0.1413, allocations: 4 kB / 408.6 MB, free: 1.223 MB / 366.1 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.00217/0.1435, allocations: 0.9472 MB / 409.6 MB, free: 276 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.1435, allocations: 8.625 kB / 409.6 MB, free: 268 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/0.1435, allocations: 8 kB / 409.6 MB, free: 260 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.452e-05/0.1435, allocations: 12 kB / 409.6 MB, free: 248 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00127/0.1448, allocations: 275.7 kB / 409.9 MB, free: 15.97 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.789e-05/0.1448, allocations: 11.94 kB / 409.9 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007047/0.1455, allocations: 55.94 kB / 409.9 MB, free: 15.9 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.554e-05/0.1456, allocations: 36 kB / 410 MB, free: 15.87 MB / 382.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.0004457/0.146, allocations: 293.5 kB / 410.3 MB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001651/0.1462, allocations: 99.38 kB / 410.4 MB, free: 15.47 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008297/0.147, allocations: 334.4 kB / 410.7 MB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-05/0.147, allocations: 8 kB / 410.7 MB, free: 15.13 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.147, allocations: 3.938 kB / 410.7 MB, free: 15.13 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.898e-06/0.1471, allocations: 3.984 kB / 410.7 MB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003818/0.1509, allocations: 2.003 MB / 412.7 MB, free: 13 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.161e-05/0.1509, allocations: 11.98 kB / 412.7 MB, free: 12.99 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009275/0.1518, allocations: 204.1 kB / 412.9 MB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.417e-05/0.1518, allocations: 15.94 kB / 412.9 MB, free: 12.78 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.524e-05/0.1519, allocations: 23.98 kB / 413 MB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.208e-05/0.1519, allocations: 11.94 kB / 413 MB, free: 12.74 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.813e-06/0.1519, allocations: 8 kB / 413 MB, free: 12.73 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001753/0.1536, allocations: 1.018 MB / 414 MB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001756/0.1538, allocations: 107.4 kB / 414.1 MB, free: 11.5 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001049/0.1539, allocations: 27.92 kB / 414.1 MB, free: 11.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006313/0.1546, allocations: 51.89 kB / 414.2 MB, free: 11.43 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001196/0.1547, allocations: 75.7 kB / 414.3 MB, free: 11.35 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.841e-05/0.1547, allocations: 28 kB / 414.3 MB, free: 11.32 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008371/0.1556, allocations: 0.6162 MB / 414.9 MB, free: 10.71 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1556, allocations: 0 / 414.9 MB, free: 10.71 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007879/0.1563, allocations: 207.9 kB / 415.1 MB, free: 10.51 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.00142/0.1578, allocations: 407 kB / 415.5 MB, free: 10.23 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001703/0.1595, allocations: 0.6992 MB / 416.2 MB, free: 9.531 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.1595, allocations: 64 / 416.2 MB, free: 9.531 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008054/0.1603, allocations: 349.1 kB / 416.5 MB, free: 9.191 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001156/0.1614, allocations: 217.8 kB / 416.8 MB, free: 8.984 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00327/0.1647, allocations: 1.94 MB / 418.7 MB, free: 6.926 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005288/0.1652, allocations: 447.5 kB / 419.1 MB, free: 6.461 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004588/0.1657, allocations: 118.7 kB / 419.2 MB, free: 6.34 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002036/0.1659, allocations: 68.48 kB / 419.3 MB, free: 6.273 MB / 382.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1659, allocations: 0 / 419.3 MB, free: 6.273 MB / 382.1 MB Notification: Performance of Templates: time 0.0211/0.187, allocations: 10.7 MB / 430 MB, free: 11.73 MB / 398.1 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=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.699506715056486]