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.001827/0.001827, allocations: 86.16 kB / 21.25 MB, free: 0.543 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.002373/0.002373, allocations: 160.1 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.434/1.434, allocations: 177.1 MB / 204.7 MB, free: 8.941 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.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 0.001889/0.001889, allocations: 57.16 kB / 325.5 MB, free: 180 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0888/0.09068, allocations: 53.39 MB / 378.9 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.006335/0.09702, allocations: 4.259 MB / 383.2 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003349/0.1004, allocations: 1.901 MB / 385.1 MB, free: 9.262 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003171/0.1007, allocations: 11.94 kB / 385.1 MB, free: 9.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007809/0.1015, allocations: 430.2 kB / 385.5 MB, free: 8.828 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009409/0.1024, allocations: 469.5 kB / 386 MB, free: 8.367 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006848/0.1031, allocations: 323.3 kB / 386.3 MB, free: 8.055 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001122/0.1042, allocations: 1.044 MB / 387.3 MB, free: 7.008 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003377/0.1046, allocations: 199 kB / 387.5 MB, free: 6.809 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005135/0.1051, allocations: 434.6 kB / 387.9 MB, free: 6.383 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006226/0.1057, allocations: 494.1 kB / 388.4 MB, free: 5.898 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001305/0.1058, allocations: 96 kB / 388.5 MB, free: 5.805 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002223/0.106, allocations: 132 kB / 388.6 MB, free: 5.676 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002354/0.1063, allocations: 243.1 kB / 388.9 MB, free: 5.438 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003704/0.1066, allocations: 374.1 kB / 389.3 MB, free: 5.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00137/0.108, allocations: 1.311 MB / 390.6 MB, free: 3.754 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.108, allocations: 0 / 390.6 MB, free: 3.754 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.108, allocations: 0 / 390.6 MB, free: 3.754 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.031e-05/0.108, allocations: 0 / 390.6 MB, free: 3.754 MB / 350.1 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.002134/0.1102, allocations: 1.162 MB / 391.7 MB, free: 2.555 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.1102, allocations: 8.031 kB / 391.7 MB, free: 2.547 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004962/0.1107, allocations: 136.2 kB / 391.9 MB, free: 2.414 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009233/0.1116, allocations: 0.5117 MB / 392.4 MB, free: 1.879 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.007e-05/0.1117, allocations: 45.69 kB / 392.4 MB, free: 1.836 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.689e-05/0.1118, allocations: 63.94 kB / 392.5 MB, free: 1.773 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001173/0.1129, allocations: 0.6536 MB / 393.1 MB, free: 1.098 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.256e-05/0.113, allocations: 0 / 393.1 MB, free: 1.098 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.204e-05/0.113, allocations: 28 kB / 393.2 MB, free: 1.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.487e-05/0.113, allocations: 15.94 kB / 393.2 MB, free: 1.055 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001118/0.1142, allocations: 0.5204 MB / 393.7 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003511/0.1177, allocations: 2.009 MB / 395.7 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009088/0.1186, allocations: 453.1 kB / 396.2 MB, free: 14 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006424/0.1192, allocations: 262.2 kB / 396.4 MB, free: 13.74 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.757e-05/0.1193, allocations: 8.5 kB / 396.4 MB, free: 13.73 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.32e-05/0.1193, allocations: 39.06 kB / 396.5 MB, free: 13.68 MB / 366.1 MB Notification: Performance of pre-optimization done (n=50): time 1.794e-06/0.1193, allocations: 0 / 396.5 MB, free: 13.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=63): time 0.00428/0.1236, allocations: 1.459 MB / 397.9 MB, free: 12.22 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.915e-05/0.1236, allocations: 60 kB / 398 MB, free: 12.15 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001093/0.1247, allocations: 0.9104 MB / 398.9 MB, free: 11.23 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.131e-05/0.1248, allocations: 33.7 kB / 398.9 MB, free: 11.19 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003212/0.1251, allocations: 420.5 kB / 399.3 MB, free: 10.77 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001749/0.1252, allocations: 222.1 kB / 399.5 MB, free: 10.55 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002002/0.1254, allocations: 122.6 kB / 399.7 MB, free: 10.43 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001933/0.1256, allocations: 386.8 kB / 400 MB, free: 10.04 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005535/0.1262, allocations: 229.9 kB / 400.3 MB, free: 9.816 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006172/0.1268, allocations: 327.1 kB / 400.6 MB, free: 9.469 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001248/0.1281, allocations: 0.5444 MB / 401.1 MB, free: 8.895 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1281, allocations: 0 / 401.1 MB, free: 8.895 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001457/0.1295, allocations: 0.7036 MB / 401.8 MB, free: 8.184 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.271e-05/0.1295, allocations: 18.58 kB / 401.9 MB, free: 8.168 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.1296, allocations: 0 / 401.9 MB, free: 8.168 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.081e-05/0.1296, allocations: 4 kB / 401.9 MB, free: 8.164 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007663/0.1303, allocations: 172 kB / 402 MB, free: 7.996 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/0.1303, allocations: 7.938 kB / 402 MB, free: 7.988 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004585/0.1308, allocations: 35.92 kB / 402.1 MB, free: 7.953 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.424e-05/0.1309, allocations: 27.98 kB / 402.1 MB, free: 7.926 MB / 366.1 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.0003514/0.1312, allocations: 265.6 kB / 402.4 MB, free: 7.656 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001272/0.1313, allocations: 87.42 kB / 402.4 MB, free: 7.57 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001338/0.1327, allocations: 0.6028 MB / 403 MB, free: 6.957 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.876e-06/0.1327, allocations: 8 kB / 403 MB, free: 6.949 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.339e-06/0.1327, allocations: 0 / 403 MB, free: 6.949 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.806e-06/0.1327, allocations: 3.984 kB / 403.1 MB, free: 6.945 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002827/0.1355, allocations: 1.471 MB / 404.5 MB, free: 5.391 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.1355, allocations: 4.312 kB / 404.5 MB, free: 5.387 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005489/0.1361, allocations: 131.8 kB / 404.7 MB, free: 5.258 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.078e-05/0.1361, allocations: 7.938 kB / 404.7 MB, free: 5.25 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.555e-05/0.1361, allocations: 16 kB / 404.7 MB, free: 5.234 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.704e-06/0.1361, allocations: 11.94 kB / 404.7 MB, free: 5.223 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.454e-06/0.1361, allocations: 7.938 kB / 404.7 MB, free: 5.215 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001247/0.1374, allocations: 0.7224 MB / 405.4 MB, free: 4.445 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002444/0.1376, allocations: 131.4 kB / 405.6 MB, free: 4.316 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.885e-05/0.1377, allocations: 15.94 kB / 405.6 MB, free: 4.301 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004193/0.1381, allocations: 27.98 kB / 405.6 MB, free: 4.273 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.924e-05/0.1382, allocations: 44.41 kB / 405.6 MB, free: 4.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.958e-05/0.1383, allocations: 20 kB / 405.7 MB, free: 4.211 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007744/0.139, allocations: 0.6552 MB / 406.3 MB, free: 3.562 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.139, allocations: 4 kB / 406.3 MB, free: 3.559 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005577/0.1396, allocations: 152 kB / 406.5 MB, free: 3.41 MB / 366.1 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.001447/0.141, allocations: 395.5 kB / 406.9 MB, free: 3.141 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001215/0.1423, allocations: 0.5157 MB / 407.4 MB, free: 2.621 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.1423, allocations: 3.938 kB / 407.4 MB, free: 2.617 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005437/0.1428, allocations: 263.5 kB / 407.6 MB, free: 2.359 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007302/0.1435, allocations: 136.6 kB / 407.8 MB, free: 2.23 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002573/0.1461, allocations: 1.602 MB / 409.4 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004057/0.1465, allocations: 375.7 kB / 409.7 MB, free: 180 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003593/0.1469, allocations: 96.94 kB / 409.8 MB, free: 84 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001678/0.147, allocations: 56.48 kB / 409.9 MB, free: 28 kB / 366.1 MB Notification: Performance of SimCode: time 5.11e-07/0.147, allocations: 0 / 409.9 MB, free: 28 kB / 366.1 MB Notification: Performance of Templates: time 0.01583/0.1629, allocations: 7.823 MB / 417.7 MB, free: 8.324 MB / 382.1 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=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceStrokeBehaviour/ForceStrokeBehaviour.csv","/var/lib/jenkins1/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.62133413599804]