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.001283/0.001283, allocations: 91.62 kB / 21.43 MB, free: 3.105 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.0013/0.0013, allocations: 155.5 kB / 24.7 MB, free: 9.422 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.8927/0.8927, allocations: 177.2 MB / 205 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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.2549/0.2549, allocations: 32.8 MB / 294.2 MB, free: 1.211 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 440.8 MB, free: 3.77 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.408e-05/2.567e-05, allocations: 7.484 kB / 440.8 MB, free: 3.762 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.00322/0.003246, allocations: 1.897 MB / 442.7 MB, free: 1.852 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001018/0.004264, allocations: 0.5607 MB / 443.3 MB, free: 1.285 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001084/0.004373, allocations: 4 kB / 443.3 MB, free: 1.281 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001933/0.004566, allocations: 35.72 kB / 443.3 MB, free: 1.246 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001357/0.004702, allocations: 35.7 kB / 443.4 MB, free: 1.211 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001892/0.004891, allocations: 51.86 kB / 443.4 MB, free: 1.16 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002049/0.005096, allocations: 155.4 kB / 443.6 MB, free: 1.008 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001534/0.005249, allocations: 41.78 kB / 443.6 MB, free: 0.9688 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001367/0.005386, allocations: 79.86 kB / 443.7 MB, free: 0.8906 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.829e-05/0.005464, allocations: 47.81 kB / 443.7 MB, free: 0.8438 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.543e-05/0.0055, allocations: 16 kB / 443.7 MB, free: 0.8281 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.994e-05/0.005519, allocations: 12 kB / 443.8 MB, free: 0.8164 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.294e-05/0.005552, allocations: 31.91 kB / 443.8 MB, free: 0.7852 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.352e-05/0.005606, allocations: 47.91 kB / 443.8 MB, free: 0.7383 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002109/0.005817, allocations: 163.4 kB / 444 MB, free: 0.5781 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.005819, allocations: 0 / 444 MB, free: 0.5781 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.00582, allocations: 4 kB / 444 MB, free: 0.5742 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.005825, allocations: 0 / 444 MB, free: 0.5742 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.0005713/0.006396, allocations: 373.9 kB / 444.4 MB, free: 180 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.006437, allocations: 8.031 kB / 444.4 MB, free: 172 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.735e-05/0.006485, allocations: 20.84 kB / 444.4 MB, free: 152 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2003/0.2068, allocations: 147.6 kB / 444.5 MB, free: 46.77 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.703e-05/0.2068, allocations: 5.125 kB / 444.5 MB, free: 46.77 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.413e-05/0.2068, allocations: 14.91 kB / 444.5 MB, free: 46.77 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003284/0.2072, allocations: 140.5 kB / 444.7 MB, free: 46.74 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.2072, allocations: 2.625 kB / 444.7 MB, free: 46.74 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.579e-05/0.2072, allocations: 5.562 kB / 444.7 MB, free: 46.74 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.2072, allocations: 2.875 kB / 444.7 MB, free: 46.74 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001755/0.2074, allocations: 113.6 kB / 444.8 MB, free: 46.74 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006689/0.208, allocations: 0.5032 MB / 445.3 MB, free: 46.43 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001849/0.2082, allocations: 67.41 kB / 445.4 MB, free: 46.41 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.284e-05/0.2083, allocations: 28.81 kB / 445.4 MB, free: 46.4 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.06e-05/0.2083, allocations: 4.766 kB / 445.4 MB, free: 46.4 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.577e-05/0.2083, allocations: 36.09 kB / 445.4 MB, free: 46.36 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 2.074e-06/0.2083, allocations: 0 / 445.4 MB, free: 46.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002628/0.2086, allocations: 112.2 kB / 445.6 MB, free: 46.32 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.596e-05/0.2086, allocations: 56.97 kB / 445.6 MB, free: 46.26 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.172e-05/0.2087, allocations: 143.8 kB / 445.8 MB, free: 46.15 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.486e-06/0.2087, allocations: 28.58 kB / 445.8 MB, free: 46.12 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.39e-05/0.2087, allocations: 140.7 kB / 445.9 MB, free: 46 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.036e-05/0.2088, allocations: 18.44 kB / 445.9 MB, free: 45.99 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.51e-05/0.2088, allocations: 26.92 kB / 446 MB, free: 45.96 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.126e-05/0.2088, allocations: 325.6 kB / 446.3 MB, free: 45.65 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.247e-05/0.2089, allocations: 25.84 kB / 446.3 MB, free: 45.64 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.955e-05/0.2089, allocations: 64.78 kB / 446.4 MB, free: 45.59 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001131/0.2091, allocations: 103.7 kB / 446.5 MB, free: 45.54 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.2091, allocations: 0 / 446.5 MB, free: 45.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000156/0.2092, allocations: 125 kB / 446.6 MB, free: 45.48 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.2092, allocations: 7.156 kB / 446.6 MB, free: 45.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.2092, allocations: 2.594 kB / 446.6 MB, free: 45.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.2093, allocations: 0 / 446.6 MB, free: 45.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.152e-05/0.2093, allocations: 35.69 kB / 446.6 MB, free: 45.47 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.034e-06/0.2093, allocations: 2.781 kB / 446.6 MB, free: 45.47 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.388e-05/0.2094, allocations: 12.86 kB / 446.7 MB, free: 45.47 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/0.2094, allocations: 2.625 kB / 446.7 MB, free: 45.47 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.712e-05/0.2095, allocations: 128.4 kB / 446.8 MB, free: 45.34 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.516e-05/0.2095, allocations: 13.14 kB / 446.8 MB, free: 45.34 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.084e-05/0.2095, allocations: 16.64 kB / 446.8 MB, free: 45.33 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.2095, allocations: 0 / 446.8 MB, free: 45.33 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.2095, allocations: 0 / 446.8 MB, free: 45.33 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.2095, allocations: 0 / 446.8 MB, free: 45.33 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.766e-05/0.2096, allocations: 141.4 kB / 446.9 MB, free: 45.19 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.2096, allocations: 2.969 kB / 446.9 MB, free: 45.19 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.904e-05/0.2096, allocations: 18.94 kB / 447 MB, free: 45.19 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-06/0.2096, allocations: 0.5938 kB / 447 MB, free: 45.19 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.654e-06/0.2097, allocations: 7.688 kB / 447 MB, free: 45.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.2097, allocations: 6.625 kB / 447 MB, free: 45.18 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.2097, allocations: 3.188 kB / 447 MB, free: 45.18 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000132/0.2098, allocations: 182 kB / 447.2 MB, free: 45.04 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.295e-05/0.2098, allocations: 6.547 kB / 447.2 MB, free: 45.04 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.373e-05/0.2098, allocations: 3.938 kB / 447.2 MB, free: 45.03 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.388e-05/0.2099, allocations: 10.11 kB / 447.2 MB, free: 45.03 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.022e-05/0.2099, allocations: 2.719 kB / 447.2 MB, free: 45.03 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.838e-06/0.2099, allocations: 5.594 kB / 447.2 MB, free: 45.03 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.749e-05/0.2099, allocations: 107.4 kB / 447.3 MB, free: 44.95 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2099, allocations: 0 / 447.3 MB, free: 44.95 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001619/0.2101, allocations: 34.33 kB / 447.3 MB, free: 44.93 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.443e-05/0.2102, allocations: 100.2 kB / 447.4 MB, free: 44.84 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001581/0.2103, allocations: 72.66 kB / 447.5 MB, free: 44.83 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.2103, allocations: 0 / 447.5 MB, free: 44.83 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.664e-05/0.2104, allocations: 26.75 kB / 447.5 MB, free: 44.82 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000212/0.2106, allocations: 6.688 kB / 447.5 MB, free: 44.82 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004295/0.211, allocations: 278.7 kB / 447.8 MB, free: 44.62 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.957e-05/0.2111, allocations: 94.52 kB / 447.9 MB, free: 44.54 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.354e-05/0.2111, allocations: 14.34 kB / 447.9 MB, free: 44.53 MB / 410.7 MB Notification: Performance of SimCode: time 9.92e-07/0.2111, allocations: 384 / 447.9 MB, free: 44.53 MB / 410.7 MB Notification: Performance of Templates: time 0.002136/0.2133, allocations: 1.325 MB / 449.2 MB, free: 44.44 MB / 410.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Sensors/Sensors.csv","/var/lib/jenkins/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: 4.576604674570262]