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.001455/0.001455, allocations: 113.5 kB / 17.12 MB, free: 5.93 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.001433/0.001433, allocations: 213 kB / 20.09 MB, free: 2.977 MB / 14.72 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 1.561/1.561, allocations: 207.6 MB / 230.5 MB, free: 4.07 MB / 174.1 MB " [Timeout remaining time 178] 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.3448/0.3448, allocations: 44.23 MB / 326.6 MB, free: 7.234 MB / 254.1 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: "" <> buildModelFMU(ModelicaTest.FluxTubes.Sensors,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Sensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.FluxTubes.Sensors,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Sensors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.003263/0.003263, allocations: 71.89 kB / 462.2 MB, free: 1.055 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3118/0.315, allocations: 61 MB / 0.5109 GB, free: 13.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Sensors): time 0.003076/0.3181, allocations: 1.892 MB / 0.5128 GB, free: 11.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001109/0.3192, allocations: 0.6099 MB / 0.5134 GB, free: 11.35 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001112/0.3193, allocations: 2.938 kB / 0.5134 GB, free: 11.35 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001856/0.3195, allocations: 31.7 kB / 0.5134 GB, free: 11.33 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001177/0.3196, allocations: 37.52 kB / 0.5134 GB, free: 11.3 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001581/0.3198, allocations: 44.25 kB / 0.5135 GB, free: 11.26 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001745/0.32, allocations: 151.2 kB / 0.5136 GB, free: 11.17 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001362/0.3201, allocations: 49.33 kB / 0.5137 GB, free: 11.13 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001356/0.3202, allocations: 57.45 kB / 0.5137 GB, free: 11.1 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.998e-05/0.3203, allocations: 72.08 kB / 0.5138 GB, free: 11.05 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.401e-05/0.3204, allocations: 12.34 kB / 0.5138 GB, free: 11.05 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.511e-05/0.3204, allocations: 14.34 kB / 0.5138 GB, free: 11.05 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.709e-05/0.3204, allocations: 27.8 kB / 0.5138 GB, free: 11.02 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.078e-05/0.3205, allocations: 66.42 kB / 0.5139 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001694/0.3206, allocations: 161 kB / 0.5141 GB, free: 10.86 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.3206, allocations: 1.562 kB / 0.5141 GB, free: 10.86 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3206, allocations: 4 kB / 0.5141 GB, free: 10.86 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.173e-05/0.3207, allocations: 0 / 0.5141 GB, free: 10.86 MB / 382.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.0006211/0.3213, allocations: 446.8 kB / 0.5145 GB, free: 10.42 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.212e-05/0.3213, allocations: 13.48 kB / 0.5145 GB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.782e-05/0.3214, allocations: 46.86 kB / 0.5145 GB, free: 10.37 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.186e-05/0.3214, allocations: 17.09 kB / 0.5146 GB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002788/0.3217, allocations: 205.8 kB / 0.5148 GB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.969e-05/0.3217, allocations: 10.16 kB / 0.5148 GB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.039e-05/0.3217, allocations: 12.62 kB / 0.5148 GB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003522/0.3221, allocations: 143.2 kB / 0.5149 GB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.3221, allocations: 3.938 kB / 0.5149 GB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.716e-05/0.3221, allocations: 5.125 kB / 0.5149 GB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.3221, allocations: 3.531 kB / 0.5149 GB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003286/0.3225, allocations: 108.4 kB / 0.515 GB, free: 9.969 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001003/0.3235, allocations: 0.6092 MB / 0.5156 GB, free: 9.398 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000276/0.3237, allocations: 64.73 kB / 0.5157 GB, free: 9.355 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001121/0.3239, allocations: 42.47 kB / 0.5157 GB, free: 9.324 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.392e-05/0.3239, allocations: 0 / 0.5157 GB, free: 9.324 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.452e-05/0.3239, allocations: 35.75 kB / 0.5158 GB, free: 9.281 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 8.82e-07/0.3239, allocations: 0 / 0.5158 GB, free: 9.281 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004472/0.3244, allocations: 103.9 kB / 0.5159 GB, free: 9.219 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.217e-05/0.3244, allocations: 55.41 kB / 0.5159 GB, free: 9.152 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.3245, allocations: 158.7 kB / 0.5161 GB, free: 9.016 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.289e-05/0.3245, allocations: 27.08 kB / 0.5161 GB, free: 8.984 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.524e-05/0.3246, allocations: 130.8 kB / 0.5162 GB, free: 8.859 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.581e-05/0.3246, allocations: 18.7 kB / 0.5162 GB, free: 8.844 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.784e-05/0.3247, allocations: 28.7 kB / 0.5163 GB, free: 8.816 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.621e-05/0.3248, allocations: 321.7 kB / 0.5166 GB, free: 8.496 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001093/0.3249, allocations: 31.19 kB / 0.5166 GB, free: 8.48 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001152/0.325, allocations: 60.28 kB / 0.5167 GB, free: 8.426 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002153/0.3252, allocations: 100.1 kB / 0.5168 GB, free: 8.348 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.3252, allocations: 0 / 0.5168 GB, free: 8.348 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002923/0.3255, allocations: 126.4 kB / 0.5169 GB, free: 8.27 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.3255, allocations: 5.469 kB / 0.5169 GB, free: 8.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.3255, allocations: 1.375 kB / 0.5169 GB, free: 8.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.096e-05/0.3255, allocations: 6.688 kB / 0.5169 GB, free: 8.266 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001335/0.3257, allocations: 27.36 kB / 0.5169 GB, free: 8.258 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.177e-05/0.3257, allocations: 2.75 kB / 0.5169 GB, free: 8.258 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.783e-05/0.3258, allocations: 21.38 kB / 0.5169 GB, free: 8.242 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.202e-05/0.3258, allocations: 8.062 kB / 0.5169 GB, free: 8.238 MB / 382.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 8.083e-05/0.3259, allocations: 123.3 kB / 0.5171 GB, free: 8.113 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.05e-05/0.3259, allocations: 8.078 kB / 0.5171 GB, free: 8.109 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.082e-05/0.3259, allocations: 15.05 kB / 0.5171 GB, free: 8.094 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.3259, allocations: 3.938 kB / 0.5171 GB, free: 8.09 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.326, allocations: 5.375 kB / 0.5171 GB, free: 8.086 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.227e-06/0.326, allocations: 0 / 0.5171 GB, free: 8.086 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002019/0.3262, allocations: 206.4 kB / 0.5173 GB, free: 7.859 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.3262, allocations: 0 / 0.5173 GB, free: 7.859 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001099/0.3263, allocations: 16.36 kB / 0.5173 GB, free: 7.855 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.3263, allocations: 0 / 0.5173 GB, free: 7.855 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.3263, allocations: 5.609 kB / 0.5173 GB, free: 7.852 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-06/0.3263, allocations: 11.92 kB / 0.5173 GB, free: 7.84 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3263, allocations: 0 / 0.5173 GB, free: 7.84 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002656/0.3266, allocations: 187.2 kB / 0.5175 GB, free: 7.676 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.833e-05/0.3266, allocations: 87.75 kB / 0.5176 GB, free: 7.574 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.1e-05/0.3266, allocations: 7.938 kB / 0.5176 GB, free: 7.566 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.481e-05/0.3267, allocations: 12.05 kB / 0.5176 GB, free: 7.559 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.603e-05/0.3268, allocations: 1.375 kB / 0.5176 GB, free: 7.559 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-06/0.3268, allocations: 1.375 kB / 0.5176 GB, free: 7.559 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.918e-05/0.3268, allocations: 119.2 kB / 0.5177 GB, free: 7.461 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3268, allocations: 0 / 0.5177 GB, free: 7.461 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002442/0.3271, allocations: 23.2 kB / 0.5177 GB, free: 7.457 MB / 382.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.0003971/0.3275, allocations: 0.7124 MB / 0.5184 GB, free: 6.766 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002748/0.3277, allocations: 75.75 kB / 0.5185 GB, free: 6.73 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.3277, allocations: 0 / 0.5185 GB, free: 6.73 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.592e-05/0.3278, allocations: 28.42 kB / 0.5185 GB, free: 6.719 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002876/0.3281, allocations: 6.75 kB / 0.5185 GB, free: 6.715 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001601/0.3297, allocations: 1.648 MB / 0.5202 GB, free: 5.043 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001672/0.3299, allocations: 0.7041 MB / 0.5208 GB, free: 4.312 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.665e-05/0.3299, allocations: 8.656 kB / 0.5208 GB, free: 4.301 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.392e-05/0.33, allocations: 39.42 kB / 0.5209 GB, free: 4.266 MB / 382.1 MB Notification: Performance of SimCode: time 3.1e-07/0.33, allocations: 0 / 0.5209 GB, free: 4.266 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02284/0.3528, allocations: 2.138 MB / 0.523 GB, free: 2.121 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.079/8.432, allocations: 11.94 kB / 0.523 GB, free: 2.109 MB / 382.1 MB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Sensors.fmu > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/Sensors/Sensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable magneticPotentialDifferenceSensor.Phi in file ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors_res.csv. Warning: Get data of variable magneticPotentialDifferenceSensor.Phi from file ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors_res.csv failed! Error: Could not read variable magneticFluxSensor.Phi in file ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors_res.csv. Warning: Get data of variable magneticFluxSensor.Phi from file ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors_res.csv failed! Error: Could not read variable magneticPotentialDifferenceSensor.V_m in file ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors_res.csv. Warning: Get data of variable magneticPotentialDifferenceSensor.V_m from file ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.383311886995216]