Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 72.08 kB / 21.69 MB, free: 2.859 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 142.1 kB / 24.97 MB, free: 8.316 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9735/0.9735, allocations: 173.3 MB / 201.5 MB, free: 9.316 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cActuator.flange.f|pmActuator.flange.f|pmActuator.coil.Phi|pmActuator.coil.L_stat",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cActuator.flange.f|pmActuator.flange.f|pmActuator.coil.Phi|pmActuator.coil.L_stat",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 268.1 MB, free: 6.727 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.838e-05/2.011e-05, allocations: 2.312 kB / 268.1 MB, free: 6.723 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.005562/0.005582, allocations: 6.318 MB / 274.4 MB, free: 380 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003049/0.008631, allocations: 2.158 MB / 276.5 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003425/0.008974, allocations: 27.81 kB / 276.6 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005357/0.009509, allocations: 349.7 kB / 276.9 MB, free: 13.83 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00068/0.01019, allocations: 0.5003 MB / 277.4 MB, free: 13.33 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005954/0.01078, allocations: 451.2 kB / 277.8 MB, free: 12.89 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001198/0.01198, allocations: 1.588 MB / 279.4 MB, free: 11.29 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003893/0.01237, allocations: 329.8 kB / 279.8 MB, free: 10.95 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007655/0.01314, allocations: 0.8849 MB / 280.6 MB, free: 10.06 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005411/0.01368, allocations: 0.5454 MB / 281.2 MB, free: 9.512 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001415/0.01382, allocations: 160 kB / 281.3 MB, free: 9.355 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001994/0.01402, allocations: 188 kB / 281.5 MB, free: 9.172 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001891/0.01421, allocations: 334.9 kB / 281.9 MB, free: 8.844 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003424/0.01455, allocations: 466.9 kB / 282.3 MB, free: 8.387 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009452/0.0155, allocations: 1.039 MB / 283.4 MB, free: 7.344 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.0155, allocations: 4 kB / 283.4 MB, free: 7.34 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.143e-06/0.0155, allocations: 0 / 283.4 MB, free: 7.34 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.681e-05/0.01552, allocations: 0 / 283.4 MB, free: 7.34 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: 242 * Number of variables: 242 Notification: Performance of Generate backend data structure: time 0.00176/0.01728, allocations: 1.554 MB / 284.9 MB, free: 5.746 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.01731, allocations: 8.922 kB / 284.9 MB, free: 5.738 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000222/0.01754, allocations: 212.1 kB / 285.1 MB, free: 5.531 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007703/0.01831, allocations: 0.661 MB / 285.8 MB, free: 4.84 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.515e-05/0.01836, allocations: 78.36 kB / 285.9 MB, free: 4.762 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.722e-05/0.01846, allocations: 100.3 kB / 286 MB, free: 4.664 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001022/0.01948, allocations: 0.7927 MB / 286.8 MB, free: 3.844 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.578e-05/0.01951, allocations: 3.938 kB / 286.8 MB, free: 3.84 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.027e-05/0.01957, allocations: 40 kB / 286.8 MB, free: 3.801 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.914e-05/0.01959, allocations: 24 kB / 286.8 MB, free: 3.777 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007013/0.02029, allocations: 413.5 kB / 287.2 MB, free: 3.371 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003081/0.02337, allocations: 2.781 MB / 290 MB, free: 496 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.09421/0.1176, allocations: 489.6 kB / 290.5 MB, free: 32.67 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004365/0.118, allocations: 186.2 kB / 290.7 MB, free: 32.64 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.632e-05/0.1181, allocations: 18.8 kB / 290.7 MB, free: 32.64 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.929e-05/0.1181, allocations: 42.67 kB / 290.7 MB, free: 32.6 MB / 266.7 MB Notification: Performance of pre-optimization done (n=58): time 2.435e-06/0.1181, allocations: 0 / 290.7 MB, free: 32.6 MB / 266.7 MB Notification: Performance of matching and sorting (n=67): time 0.002127/0.1202, allocations: 1.181 MB / 291.9 MB, free: 32.36 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.531e-05/0.1203, allocations: 86.45 kB / 292 MB, free: 32.26 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007956/0.1211, allocations: 0.7397 MB / 292.7 MB, free: 32.07 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.369e-05/0.1211, allocations: 36.55 kB / 292.8 MB, free: 32.04 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000262/0.1213, allocations: 0.5992 MB / 293.4 MB, free: 31.73 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001194/0.1215, allocations: 240.5 kB / 293.6 MB, free: 31.57 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001804/0.1216, allocations: 166.7 kB / 293.8 MB, free: 31.48 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.1218, allocations: 0.5629 MB / 294.3 MB, free: 30.95 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002717/0.1221, allocations: 132.2 kB / 294.5 MB, free: 30.93 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003372/0.1224, allocations: 390.4 kB / 294.8 MB, free: 30.61 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005531/0.1229, allocations: 0.5189 MB / 295.4 MB, free: 30.22 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.98e-06/0.1229, allocations: 2.078 kB / 295.4 MB, free: 30.22 MB / 266.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.0009359/0.1239, allocations: 0.649 MB / 296 MB, free: 29.99 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/0.1239, allocations: 12.31 kB / 296 MB, free: 29.99 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/0.1239, allocations: 8.625 kB / 296 MB, free: 29.99 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.328e-05/0.1239, allocations: 9.438 kB / 296 MB, free: 29.99 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006243/0.1246, allocations: 244.9 kB / 296.3 MB, free: 29.97 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.822e-05/0.1246, allocations: 18.94 kB / 296.3 MB, free: 29.96 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003569/0.1249, allocations: 48.88 kB / 296.3 MB, free: 29.95 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.735e-05/0.125, allocations: 37.11 kB / 296.4 MB, free: 29.94 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 (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 (108): * Single equations (assignments): 108 * 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.0001851/0.1252, allocations: 204.6 kB / 296.6 MB, free: 29.75 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001179/0.1253, allocations: 113.7 kB / 296.7 MB, free: 29.69 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003245/0.1256, allocations: 236.5 kB / 296.9 MB, free: 29.56 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.224e-06/0.1256, allocations: 6.781 kB / 296.9 MB, free: 29.56 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.647e-06/0.1256, allocations: 4.938 kB / 296.9 MB, free: 29.56 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.896e-06/0.1256, allocations: 4.078 kB / 296.9 MB, free: 29.56 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002042/0.1277, allocations: 1.709 MB / 298.6 MB, free: 28.42 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.533e-06/0.1277, allocations: 10.8 kB / 298.7 MB, free: 28.42 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004303/0.1281, allocations: 182.8 kB / 298.8 MB, free: 28.41 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.12e-05/0.1281, allocations: 13.92 kB / 298.8 MB, free: 28.41 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.293e-05/0.1282, allocations: 20.36 kB / 298.9 MB, free: 28.4 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.005e-05/0.1282, allocations: 15.69 kB / 298.9 MB, free: 28.39 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.124e-06/0.1282, allocations: 15.56 kB / 298.9 MB, free: 28.39 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007162/0.1289, allocations: 0.9385 MB / 299.8 MB, free: 27.61 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001048/0.129, allocations: 102.2 kB / 299.9 MB, free: 27.54 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.578e-05/0.1291, allocations: 20.73 kB / 300 MB, free: 27.53 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002873/0.1294, allocations: 36.52 kB / 300 MB, free: 27.52 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/0.1295, allocations: 66.23 kB / 300.1 MB, free: 27.5 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.26e-05/0.1295, allocations: 28.36 kB / 300.1 MB, free: 27.5 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0004414/0.1299, allocations: 478.7 kB / 300.6 MB, free: 27.3 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1299, allocations: 0 / 300.6 MB, free: 27.3 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006245/0.1306, allocations: 206.6 kB / 300.8 MB, free: 27.28 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.0008161/0.1314, allocations: 371.8 kB / 301.1 MB, free: 27.14 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006721/0.132, allocations: 434 kB / 301.5 MB, free: 27.03 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.1321, allocations: 1.062 kB / 301.5 MB, free: 27.03 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002541/0.1323, allocations: 191.9 kB / 301.7 MB, free: 26.98 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007236/0.133, allocations: 203.4 kB / 301.9 MB, free: 26.91 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002126/0.1352, allocations: 1.75 MB / 303.7 MB, free: 25.73 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001499/0.1353, allocations: 185.7 kB / 303.9 MB, free: 25.64 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003534/0.1357, allocations: 112.8 kB / 304 MB, free: 25.61 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000153/0.1358, allocations: 68.92 kB / 304 MB, free: 25.6 MB / 266.7 MB Notification: Performance of SimCode: time 9.11e-07/0.1358, allocations: 4 kB / 304 MB, free: 25.6 MB / 266.7 MB Notification: Performance of Templates: time 0.01159/0.1474, allocations: 10.27 MB / 314.3 MB, free: 17.34 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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: 3.039629759034142]