Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.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.001806/0.001806, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002154/0.002154, allocations: 210 kB / 24.48 MB, free: 3.938 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.515/1.515, allocations: 230.6 MB / 258.2 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2209/0.2209, allocations: 44.93 MB / 359.6 MB, free: 6.156 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.Magnetic.FluxTubes.Sensors,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magneticPotentialDifferenceSensor.Phi|magneticFluxSensor.Phi|magneticPotentialDifferenceSensor.V_m",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors") translateModel(ModelicaTest.Magnetic.FluxTubes.Sensors,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magneticPotentialDifferenceSensor.Phi|magneticFluxSensor.Phi|magneticPotentialDifferenceSensor.V_m",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002106/0.002106, allocations: 59.91 kB / 0.4942 GB, free: 10.1 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3256/0.3277, allocations: 65.48 MB / 0.5582 GB, free: 7.508 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.003572/0.3313, allocations: 1.881 MB / 0.56 GB, free: 5.617 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001063/0.3323, allocations: 0.5648 MB / 0.5606 GB, free: 5.047 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.214e-05/0.3324, allocations: 4 kB / 0.5606 GB, free: 5.043 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001815/0.3326, allocations: 31.73 kB / 0.5606 GB, free: 5.012 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001206/0.3327, allocations: 31.7 kB / 0.5606 GB, free: 4.98 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001886/0.3329, allocations: 51.88 kB / 0.5607 GB, free: 4.93 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000243/0.3331, allocations: 155.4 kB / 0.5608 GB, free: 4.777 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000148/0.3333, allocations: 49.36 kB / 0.5609 GB, free: 4.727 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000107/0.3334, allocations: 59.78 kB / 0.5609 GB, free: 4.668 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.827e-05/0.3335, allocations: 51.77 kB / 0.561 GB, free: 4.617 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.893e-05/0.3335, allocations: 15.94 kB / 0.561 GB, free: 4.602 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.125e-05/0.3335, allocations: 16 kB / 0.561 GB, free: 4.586 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.494e-05/0.3336, allocations: 23.92 kB / 0.561 GB, free: 4.562 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.668e-05/0.3336, allocations: 63.7 kB / 0.5611 GB, free: 4.5 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002483/0.3339, allocations: 162.2 kB / 0.5612 GB, free: 4.344 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3339, allocations: 0 / 0.5612 GB, free: 4.344 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.3339, allocations: 0 / 0.5612 GB, free: 4.344 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.812e-06/0.3339, allocations: 0 / 0.5612 GB, free: 4.344 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.0006278/0.3345, allocations: 370 kB / 0.5616 GB, free: 3.949 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.3346, allocations: 12.03 kB / 0.5616 GB, free: 3.938 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.631e-05/0.3346, allocations: 16.83 kB / 0.5616 GB, free: 3.922 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002493/0.3349, allocations: 150.2 kB / 0.5618 GB, free: 3.75 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.858e-05/0.3349, allocations: 12.66 kB / 0.5618 GB, free: 3.738 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.224e-05/0.3349, allocations: 12.38 kB / 0.5618 GB, free: 3.727 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003104/0.3352, allocations: 140.1 kB / 0.5619 GB, free: 3.586 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.3352, allocations: 0 / 0.5619 GB, free: 3.586 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.771e-05/0.3352, allocations: 4 kB / 0.5619 GB, free: 3.582 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.625e-06/0.3353, allocations: 8 kB / 0.5619 GB, free: 3.574 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002857/0.3355, allocations: 108.7 kB / 0.562 GB, free: 3.469 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001043/0.3366, allocations: 0.5012 MB / 0.5625 GB, free: 2.918 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002636/0.3368, allocations: 74.55 kB / 0.5626 GB, free: 2.836 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001021/0.3369, allocations: 28.97 kB / 0.5626 GB, free: 2.805 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.826e-05/0.337, allocations: 0 / 0.5626 GB, free: 2.805 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.487e-05/0.337, allocations: 34.56 kB / 0.5627 GB, free: 2.762 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 9.22e-07/0.337, allocations: 0 / 0.5627 GB, free: 2.762 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003961/0.3374, allocations: 109.5 kB / 0.5628 GB, free: 2.648 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.45e-05/0.3374, allocations: 59.33 kB / 0.5628 GB, free: 2.578 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001481/0.3376, allocations: 155.6 kB / 0.563 GB, free: 2.418 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.556e-05/0.3376, allocations: 25.7 kB / 0.563 GB, free: 2.387 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.264e-05/0.3377, allocations: 143.5 kB / 0.5631 GB, free: 2.242 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.281e-05/0.3377, allocations: 27.78 kB / 0.5632 GB, free: 2.215 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.614e-05/0.3378, allocations: 25.7 kB / 0.5632 GB, free: 2.184 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.3379, allocations: 318.8 kB / 0.5635 GB, free: 1.863 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001053/0.338, allocations: 32.22 kB / 0.5635 GB, free: 1.832 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001316/0.3381, allocations: 64.27 kB / 0.5636 GB, free: 1.754 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002249/0.3384, allocations: 100.2 kB / 0.5637 GB, free: 1.641 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3384, allocations: 0 / 0.5637 GB, free: 1.641 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002873/0.3387, allocations: 121.5 kB / 0.5638 GB, free: 1.516 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.3387, allocations: 10.12 kB / 0.5638 GB, free: 1.508 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/0.3387, allocations: 4 kB / 0.5638 GB, free: 1.504 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/0.3387, allocations: 4.125 kB / 0.5638 GB, free: 1.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002007/0.3389, allocations: 27.97 kB / 0.5638 GB, free: 1.473 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.3389, allocations: 7.938 kB / 0.5638 GB, free: 1.465 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.661e-05/0.339, allocations: 7.953 kB / 0.5639 GB, free: 1.457 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.234e-05/0.339, allocations: 7.938 kB / 0.5639 GB, free: 1.449 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 initialization (11): * Single equations (assignments): 11 * 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.0001068/0.3391, allocations: 125.8 kB / 0.564 GB, free: 1.316 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.861e-05/0.3392, allocations: 7.953 kB / 0.564 GB, free: 1.309 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.259e-05/0.3392, allocations: 8.406 kB / 0.564 GB, free: 1.297 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.3392, allocations: 3.984 kB / 0.564 GB, free: 1.293 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.3392, allocations: 8 kB / 0.564 GB, free: 1.285 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.3392, allocations: 0 / 0.564 GB, free: 1.285 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000177/0.3394, allocations: 149.2 kB / 0.5642 GB, free: 1.109 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3394, allocations: 0 / 0.5642 GB, free: 1.109 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.086e-05/0.3395, allocations: 15.98 kB / 0.5642 GB, free: 1.094 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.3395, allocations: 0 / 0.5642 GB, free: 1.094 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.3395, allocations: 3.938 kB / 0.5642 GB, free: 1.09 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.3395, allocations: 0 / 0.5642 GB, free: 1.09 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.828e-06/0.3395, allocations: 3.938 kB / 0.5642 GB, free: 1.086 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002861/0.3398, allocations: 191.4 kB / 0.5644 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.03e-05/0.3398, allocations: 7.953 kB / 0.5644 GB, free: 0.875 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.654e-05/0.3398, allocations: 0 / 0.5644 GB, free: 0.875 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.642e-05/0.3399, allocations: 7.984 kB / 0.5644 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.144e-05/0.3399, allocations: 7.984 kB / 0.5644 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/0.3399, allocations: 0 / 0.5644 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.576e-05/0.34, allocations: 114 kB / 0.5645 GB, free: 0.75 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.34, allocations: 0 / 0.5645 GB, free: 0.75 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002532/0.3403, allocations: 27.89 kB / 0.5645 GB, free: 0.7227 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (5): * Single equations (assignments): 5 * 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.0001055/0.3404, allocations: 99.19 kB / 0.5646 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000271/0.3407, allocations: 79.94 kB / 0.5647 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.3407, allocations: 0 / 0.5647 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.553e-05/0.3408, allocations: 27.92 kB / 0.5647 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002585/0.341, allocations: 8 kB / 0.5647 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006183/0.3416, allocations: 298.5 kB / 0.565 GB, free: 184 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001089/0.3417, allocations: 90.28 kB / 0.5651 GB, free: 72 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.234e-05/0.3418, allocations: 11.44 kB / 0.5651 GB, free: 60 kB / 398.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3418, allocations: 4 kB / 0.5651 GB, free: 56 kB / 398.1 MB Notification: Performance of Templates: time 0.003143/0.3449, allocations: 1.316 MB / 0.5664 GB, free: 14.74 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Sensors/Sensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.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: 7.444099333137274]