Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.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.001302/0.001302, allocations: 80.45 kB / 20.69 MB, free: 3.875 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.001523/0.001523, allocations: 165.9 kB / 23.96 MB, free: 0.6016 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.807/0.807, allocations: 158.6 MB / 185.7 MB, free: 3.027 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1226/0.1226, allocations: 32.37 MB / 270.4 MB, free: 14.97 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.FluxTubes.Sensors,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magneticPotentialDifferenceSensor.Phi|magneticFluxSensor.Phi|magneticPotentialDifferenceSensor.V_m",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors") translateModel(ModelicaTest.FluxTubes.Sensors,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magneticPotentialDifferenceSensor.Phi|magneticFluxSensor.Phi|magneticPotentialDifferenceSensor.V_m",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 408.1 MB, free: 1.77 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.725e-05/3.935e-05, allocations: 9.875 kB / 408.1 MB, free: 1.762 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Sensors): time 0.003635/0.003675, allocations: 1.84 MB / 409.9 MB, free: 15.91 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001124/0.004799, allocations: 0.5618 MB / 410.5 MB, free: 15.34 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001403/0.004939, allocations: 7.938 kB / 410.5 MB, free: 15.33 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003013/0.005241, allocations: 23.8 kB / 410.5 MB, free: 15.3 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000152/0.005393, allocations: 35.64 kB / 410.5 MB, free: 15.27 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001809/0.005574, allocations: 43.88 kB / 410.6 MB, free: 15.23 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001481/0.005722, allocations: 155.4 kB / 410.7 MB, free: 15.07 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001218/0.005843, allocations: 45.66 kB / 410.8 MB, free: 15.02 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001521/0.005996, allocations: 91.78 kB / 410.9 MB, free: 14.93 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.932e-05/0.006055, allocations: 43.83 kB / 410.9 MB, free: 14.89 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 3.049e-05/0.006085, allocations: 19.98 kB / 410.9 MB, free: 14.87 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.393e-05/0.006099, allocations: 12 kB / 410.9 MB, free: 14.86 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 2.611e-05/0.006125, allocations: 31.91 kB / 411 MB, free: 14.83 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.804e-05/0.006163, allocations: 43.91 kB / 411 MB, free: 14.79 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001734/0.006337, allocations: 163.4 kB / 411.2 MB, free: 14.62 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.006342, allocations: 0 / 411.2 MB, free: 14.62 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.006343, allocations: 0 / 411.2 MB, free: 14.62 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.588e-06/0.006348, allocations: 4 kB / 411.2 MB, free: 14.62 MB / 394.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.000433/0.006781, allocations: 374 kB / 411.5 MB, free: 14.23 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.006815, allocations: 12.03 kB / 411.6 MB, free: 14.21 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.692e-05/0.006852, allocations: 12.84 kB / 411.6 MB, free: 14.2 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001774/0.007029, allocations: 145.5 kB / 411.7 MB, free: 14.04 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.007042, allocations: 12.66 kB / 411.7 MB, free: 14.02 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.493e-05/0.007057, allocations: 16.31 kB / 411.7 MB, free: 14.01 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002065/0.007263, allocations: 140.4 kB / 411.9 MB, free: 13.87 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.007271, allocations: 192 / 411.9 MB, free: 13.87 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.007282, allocations: 4.375 kB / 411.9 MB, free: 13.86 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.007287, allocations: 7.938 kB / 411.9 MB, free: 13.86 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001548/0.007442, allocations: 112.1 kB / 412 MB, free: 13.75 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005395/0.007982, allocations: 0.5054 MB / 412.5 MB, free: 13.19 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001521/0.008134, allocations: 78.53 kB / 412.6 MB, free: 13.11 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.158e-05/0.008185, allocations: 28.97 kB / 412.6 MB, free: 13.07 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.617e-05/0.008201, allocations: 0 / 412.6 MB, free: 13.07 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.644e-05/0.008218, allocations: 30.56 kB / 412.6 MB, free: 13.04 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 7.81e-07/0.008219, allocations: 4 kB / 412.6 MB, free: 13.03 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.000211/0.00843, allocations: 105.6 kB / 412.7 MB, free: 12.92 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.628e-05/0.008456, allocations: 59.34 kB / 412.8 MB, free: 12.85 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.218e-05/0.008538, allocations: 149.5 kB / 413 MB, free: 12.7 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.185e-05/0.00855, allocations: 29.7 kB / 413 MB, free: 12.66 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.218e-05/0.008602, allocations: 131.7 kB / 413.1 MB, free: 12.53 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.152e-05/0.008614, allocations: 19.84 kB / 413.1 MB, free: 12.51 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.861e-05/0.008642, allocations: 21.72 kB / 413.2 MB, free: 12.48 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.352e-05/0.008716, allocations: 326.8 kB / 413.5 MB, free: 12.15 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.717e-05/0.008773, allocations: 31.92 kB / 413.5 MB, free: 12.12 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.499e-05/0.008838, allocations: 60.27 kB / 413.6 MB, free: 12.05 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001113/0.008949, allocations: 100.2 kB / 413.7 MB, free: 11.93 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.008951, allocations: 0 / 413.7 MB, free: 11.93 MB / 394.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001519/0.009103, allocations: 129.6 kB / 413.8 MB, free: 11.8 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/0.009114, allocations: 12 kB / 413.8 MB, free: 11.79 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.009118, allocations: 0 / 413.8 MB, free: 11.79 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.011e-05/0.009128, allocations: 4 kB / 413.8 MB, free: 11.79 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.617e-05/0.009194, allocations: 23.98 kB / 413.8 MB, free: 11.76 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.037e-06/0.009198, allocations: 0 / 413.8 MB, free: 11.76 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.498e-05/0.009243, allocations: 19.88 kB / 413.8 MB, free: 11.74 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.009251, allocations: 4 kB / 413.8 MB, free: 11.74 MB / 394.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 7.193e-05/0.009323, allocations: 125.7 kB / 414 MB, free: 11.61 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.388e-05/0.009337, allocations: 11.95 kB / 414 MB, free: 11.59 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.34e-05/0.00936, allocations: 16.45 kB / 414 MB, free: 11.58 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.009362, allocations: 0 / 414 MB, free: 11.58 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.009366, allocations: 0 / 414 MB, free: 11.58 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.00937, allocations: 0 / 414 MB, free: 11.58 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001261/0.009496, allocations: 141.2 kB / 414.1 MB, free: 11.41 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.009497, allocations: 0 / 414.1 MB, free: 11.41 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.891e-05/0.009535, allocations: 15.98 kB / 414.2 MB, free: 11.4 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.009538, allocations: 0 / 414.2 MB, free: 11.4 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.222e-06/0.009544, allocations: 3.938 kB / 414.2 MB, free: 11.39 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.009547, allocations: 4 kB / 414.2 MB, free: 11.39 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.009548, allocations: 4.25 kB / 414.2 MB, free: 11.39 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001485/0.009697, allocations: 195.3 kB / 414.4 MB, free: 11.18 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.087e-05/0.009708, allocations: 7.891 kB / 414.4 MB, free: 11.17 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.011e-05/0.009718, allocations: 4 kB / 414.4 MB, free: 11.17 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.318e-05/0.009761, allocations: 7.984 kB / 414.4 MB, free: 11.16 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.39e-05/0.009785, allocations: 4 kB / 414.4 MB, free: 11.16 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-06/0.009787, allocations: 0 / 414.4 MB, free: 11.16 MB / 394.7 MB Notification: Performance of sorting global known variables: time 4.583e-05/0.009833, allocations: 111.2 kB / 414.5 MB, free: 11.05 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009833, allocations: 0 / 414.5 MB, free: 11.05 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001512/0.009984, allocations: 31.95 kB / 414.5 MB, free: 11.02 MB / 394.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 7.006e-05/0.01005, allocations: 91.25 kB / 414.6 MB, free: 10.92 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001381/0.01019, allocations: 67.89 kB / 414.7 MB, free: 10.85 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.072e-06/0.01019, allocations: 0 / 414.7 MB, free: 10.85 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.625e-05/0.01024, allocations: 31.91 kB / 414.7 MB, free: 10.82 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001614/0.0104, allocations: 16.19 kB / 414.7 MB, free: 10.8 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004624/0.01086, allocations: 271.3 kB / 415 MB, free: 10.51 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.733e-05/0.01092, allocations: 94.27 kB / 415.1 MB, free: 10.4 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.703e-05/0.01095, allocations: 12.5 kB / 415.1 MB, free: 10.39 MB / 394.7 MB Notification: Performance of SimCode: time 3.51e-07/0.01095, allocations: 4 kB / 415.1 MB, free: 10.38 MB / 394.7 MB Notification: Performance of Templates: time 0.001739/0.01269, allocations: 1.298 MB / 416.4 MB, free: 9.082 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.sim & ./ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/Sensors/Sensors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.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.26317557413131]