Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0008353/0.0008353, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 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.003163/0.003163, allocations: 160.4 kB / 24.7 MB, free: 9.43 MB / 18.57 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 0.8852/0.8852, allocations: 177.1 MB / 205 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2463/0.2463, allocations: 34.25 MB / 295.7 MB, free: 0.6914 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.654e-06/1.654e-06, allocations: 0 / 443.4 MB, free: 1.18 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.544e-05/2.709e-05, allocations: 2.281 kB / 443.4 MB, free: 1.176 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.1731/0.1731, allocations: 1.884 MB / 445.3 MB, free: 43.64 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007694/0.1739, allocations: 0.5619 MB / 445.9 MB, free: 43.39 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.413e-05/0.174, allocations: 4.688 kB / 445.9 MB, free: 43.39 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001678/0.1742, allocations: 34.42 kB / 445.9 MB, free: 43.38 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000118/0.1743, allocations: 34.98 kB / 445.9 MB, free: 43.36 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001481/0.1744, allocations: 49.2 kB / 446 MB, free: 43.35 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001348/0.1746, allocations: 152.6 kB / 446.1 MB, free: 43.31 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001422/0.1747, allocations: 43.78 kB / 446.2 MB, free: 43.31 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001205/0.1748, allocations: 83.88 kB / 446.3 MB, free: 43.3 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.27e-05/0.1749, allocations: 48.58 kB / 446.3 MB, free: 43.29 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.205e-05/0.1749, allocations: 12.84 kB / 446.3 MB, free: 43.29 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.412e-05/0.1749, allocations: 14.34 kB / 446.3 MB, free: 43.29 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.161e-05/0.175, allocations: 32.72 kB / 446.4 MB, free: 43.29 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.507e-05/0.175, allocations: 45.53 kB / 446.4 MB, free: 43.28 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001546/0.1751, allocations: 162.9 kB / 446.6 MB, free: 43.25 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1752, allocations: 0 / 446.6 MB, free: 43.25 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.156e-06/0.1752, allocations: 0 / 446.6 MB, free: 43.25 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.1752, allocations: 0 / 446.6 MB, free: 43.25 MB / 410.7 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.0004719/0.1756, allocations: 373.6 kB / 446.9 MB, free: 42.96 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.1757, allocations: 18.72 kB / 447 MB, free: 42.95 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.152e-05/0.1757, allocations: 14.59 kB / 447 MB, free: 42.95 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002333/0.176, allocations: 147.6 kB / 447.1 MB, free: 42.8 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.176, allocations: 13.16 kB / 447.1 MB, free: 42.8 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.667e-05/0.176, allocations: 12.28 kB / 447.1 MB, free: 42.8 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002252/0.1762, allocations: 134.2 kB / 447.3 MB, free: 42.77 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.1762, allocations: 4.125 kB / 447.3 MB, free: 42.77 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.1762, allocations: 4.375 kB / 447.3 MB, free: 42.76 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.283e-06/0.1762, allocations: 6.812 kB / 447.3 MB, free: 42.76 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001591/0.1764, allocations: 104.1 kB / 447.4 MB, free: 42.73 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005787/0.177, allocations: 0.5087 MB / 447.9 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001852/0.1772, allocations: 70.83 kB / 448 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.233e-05/0.1772, allocations: 34.19 kB / 448 MB, free: 42.28 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.822e-05/0.1772, allocations: 0 / 448 MB, free: 42.28 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.68e-05/0.1772, allocations: 33.38 kB / 448 MB, free: 42.24 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.262e-06/0.1772, allocations: 0 / 448 MB, free: 42.24 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002632/0.1775, allocations: 111.1 kB / 448.1 MB, free: 42.18 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.538e-05/0.1775, allocations: 51.41 kB / 448.2 MB, free: 42.12 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.215e-05/0.1776, allocations: 150.1 kB / 448.3 MB, free: 42 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.222e-06/0.1776, allocations: 28.33 kB / 448.4 MB, free: 41.97 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.989e-05/0.1777, allocations: 146.8 kB / 448.5 MB, free: 41.84 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.718e-06/0.1777, allocations: 17.95 kB / 448.5 MB, free: 41.83 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.207e-05/0.1777, allocations: 26.41 kB / 448.5 MB, free: 41.8 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.676e-05/0.1778, allocations: 322 kB / 448.9 MB, free: 41.48 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.14e-05/0.1778, allocations: 28.55 kB / 448.9 MB, free: 41.48 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.483e-05/0.1779, allocations: 63.62 kB / 448.9 MB, free: 41.43 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001156/0.178, allocations: 99.31 kB / 449 MB, free: 41.37 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.178, allocations: 0 / 449 MB, free: 41.37 MB / 410.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001519/0.1781, allocations: 129.2 kB / 449.2 MB, free: 41.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.1782, allocations: 5.969 kB / 449.2 MB, free: 41.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.1782, allocations: 0 / 449.2 MB, free: 41.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.1782, allocations: 2.875 kB / 449.2 MB, free: 41.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.658e-05/0.1783, allocations: 29.77 kB / 449.2 MB, free: 41.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.1783, allocations: 2.969 kB / 449.2 MB, free: 41.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.274e-05/0.1783, allocations: 21 kB / 449.2 MB, free: 41.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.222e-05/0.1783, allocations: 2.969 kB / 449.2 MB, free: 41.29 MB / 410.7 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 5.775e-05/0.1784, allocations: 128.2 kB / 449.4 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.369e-05/0.1784, allocations: 11.05 kB / 449.4 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.372e-05/0.1784, allocations: 14.58 kB / 449.4 MB, free: 41.15 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.1784, allocations: 0 / 449.4 MB, free: 41.15 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.1784, allocations: 0 / 449.4 MB, free: 41.15 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.1784, allocations: 0 / 449.4 MB, free: 41.15 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001021/0.1785, allocations: 145 kB / 449.5 MB, free: 41.01 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.1785, allocations: 0 / 449.5 MB, free: 41.01 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.261e-05/0.1786, allocations: 14.28 kB / 449.5 MB, free: 41.01 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.1786, allocations: 0 / 449.5 MB, free: 41.01 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.1786, allocations: 7.938 kB / 449.5 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.1786, allocations: 2.906 kB / 449.6 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.1786, allocations: 0 / 449.6 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001377/0.1787, allocations: 187.2 kB / 449.7 MB, free: 40.85 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.472e-05/0.1787, allocations: 14 kB / 449.7 MB, free: 40.84 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.259e-05/0.1788, allocations: 0 / 449.7 MB, free: 40.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.451e-05/0.1788, allocations: 16.11 kB / 449.8 MB, free: 40.84 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.606e-05/0.1788, allocations: 2.062 kB / 449.8 MB, free: 40.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-06/0.1788, allocations: 2.75 kB / 449.8 MB, free: 40.84 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.773e-05/0.1789, allocations: 113.5 kB / 449.9 MB, free: 40.75 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.1789, allocations: 0 / 449.9 MB, free: 40.75 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001643/0.179, allocations: 27.58 kB / 449.9 MB, free: 40.74 MB / 410.7 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 8.052e-05/0.1791, allocations: 90.47 kB / 450 MB, free: 40.66 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001594/0.1793, allocations: 73.47 kB / 450.1 MB, free: 40.64 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.1793, allocations: 3.938 kB / 450.1 MB, free: 40.63 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.426e-05/0.1793, allocations: 32 kB / 450.1 MB, free: 40.62 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002541/0.1796, allocations: 10.97 kB / 450.1 MB, free: 40.62 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004569/0.18, allocations: 273.8 kB / 450.4 MB, free: 40.41 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.093e-05/0.1801, allocations: 100.3 kB / 450.5 MB, free: 40.32 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.175e-05/0.1801, allocations: 11.47 kB / 450.5 MB, free: 40.32 MB / 410.7 MB Notification: Performance of SimCode: time 9.41e-07/0.1801, allocations: 0 / 450.5 MB, free: 40.32 MB / 410.7 MB Notification: Performance of Templates: time 0.002228/0.1824, allocations: 1.324 MB / 451.8 MB, free: 40.22 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors.sim & ./ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/Sensors/Sensors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 4.623481288552284]