Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001288/0.001288, allocations: 123.4 kB / 17.79 MB, free: 5.281 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001409/0.001409, allocations: 215.5 kB / 20.75 MB, free: 2.324 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.48/1.48, allocations: 230.4 MB / 254 MB, free: 15.04 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2339/0.2339, allocations: 46.93 MB / 357 MB, free: 10.18 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002243/0.002243, allocations: 83.88 kB / 0.491 GB, free: 7.73 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1478/0.15, allocations: 66.05 MB / 0.5555 GB, free: 5.555 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.0405/0.1905, allocations: 30.36 MB / 0.5851 GB, free: 7.078 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.3505/0.541, allocations: 15.59 MB / 0.6003 GB, free: 3.707 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000388/0.5414, allocations: 13.59 kB / 0.6003 GB, free: 3.707 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007265/0.5421, allocations: 218.2 kB / 0.6006 GB, free: 3.703 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006726/0.5428, allocations: 281.5 kB / 0.6008 GB, free: 3.688 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01764/0.5604, allocations: 5.648 MB / 0.6063 GB, free: 3.566 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001344/0.5618, allocations: 0.8226 MB / 0.6071 GB, free: 3.516 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004017/0.5622, allocations: 195.1 kB / 0.6073 GB, free: 3.504 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01225/0.5744, allocations: 5.507 MB / 0.6127 GB, free: 1.906 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006273/0.5751, allocations: 250.2 kB / 0.6129 GB, free: 1.855 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.364e-05/0.5751, allocations: 28.12 kB / 0.613 GB, free: 1.855 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01471/0.5899, allocations: 6.101 MB / 0.6189 GB, free: 1.434 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001995/0.5901, allocations: 92.94 kB / 0.619 GB, free: 1.398 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004336/0.5905, allocations: 182.8 kB / 0.6192 GB, free: 1.34 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008977/0.5995, allocations: 3.68 MB / 0.6228 GB, free: 15.42 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.5995, allocations: 1.125 kB / 0.6228 GB, free: 15.42 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.5995, allocations: 0 / 0.6228 GB, free: 15.42 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.32e-05/0.5995, allocations: 0 / 0.6228 GB, free: 15.42 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.003314/0.6028, allocations: 1.023 MB / 0.6238 GB, free: 14.62 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.6028, allocations: 9.531 kB / 0.6238 GB, free: 14.62 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.362e-05/0.6029, allocations: 64.03 kB / 0.6239 GB, free: 14.56 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00101/0.6039, allocations: 123.2 kB / 0.624 GB, free: 14.51 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005185/0.6045, allocations: 345.5 kB / 0.6243 GB, free: 14.19 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.138e-05/0.6045, allocations: 23.64 kB / 0.6243 GB, free: 14.18 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.766e-05/0.6045, allocations: 24.5 kB / 0.6243 GB, free: 14.17 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00113/0.6057, allocations: 453.8 kB / 0.6248 GB, free: 13.85 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.6057, allocations: 4 kB / 0.6248 GB, free: 13.85 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.549e-05/0.6057, allocations: 10.72 kB / 0.6248 GB, free: 13.84 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.186e-06/0.6057, allocations: 8.844 kB / 0.6248 GB, free: 13.84 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00112/0.6068, allocations: 379.8 kB / 0.6252 GB, free: 13.66 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003191/0.61, allocations: 2.378 MB / 0.6275 GB, free: 11.42 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001141/0.6112, allocations: 268.5 kB / 0.6277 GB, free: 11.28 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003033/0.6115, allocations: 94.94 kB / 0.6278 GB, free: 11.23 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005248/0.612, allocations: 482.1 kB / 0.6283 GB, free: 10.71 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.628e-05/0.612, allocations: 32.19 kB / 0.6283 GB, free: 10.67 MB / 462.1 MB Notification: Performance of pre-optimization done (n=12): time 1.684e-06/0.612, allocations: 0 / 0.6283 GB, free: 10.67 MB / 462.1 MB Notification: Performance of matching and sorting (n=12): time 0.001819/0.6138, allocations: 453.6 kB / 0.6288 GB, free: 10.44 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.004e-05/0.6139, allocations: 109.5 kB / 0.6289 GB, free: 10.31 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004132/0.6144, allocations: 331.9 kB / 0.6292 GB, free: 10.1 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.759e-05/0.6144, allocations: 27.08 kB / 0.6292 GB, free: 10.07 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001736/0.6146, allocations: 211.3 kB / 0.6294 GB, free: 9.875 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.385e-05/0.6146, allocations: 48.52 kB / 0.6295 GB, free: 9.836 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001006/0.6147, allocations: 54.33 kB / 0.6295 GB, free: 9.797 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.6149, allocations: 337.7 kB / 0.6298 GB, free: 9.465 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002803/0.6151, allocations: 89.3 kB / 0.6299 GB, free: 9.422 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000384/0.6155, allocations: 209 kB / 0.6301 GB, free: 9.219 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006999/0.6162, allocations: 280.4 kB / 0.6304 GB, free: 8.992 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.6162, allocations: 0 / 0.6304 GB, free: 8.992 MB / 462.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007355/0.617, allocations: 313.8 kB / 0.6307 GB, free: 8.828 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.617, allocations: 16.72 kB / 0.6307 GB, free: 8.82 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.617, allocations: 3.969 kB / 0.6307 GB, free: 8.82 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.617, allocations: 4 kB / 0.6307 GB, free: 8.82 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000258/0.6173, allocations: 65.11 kB / 0.6308 GB, free: 8.801 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.437e-05/0.6173, allocations: 13.5 kB / 0.6308 GB, free: 8.793 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002931/0.6176, allocations: 48.36 kB / 0.6308 GB, free: 8.762 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.045e-05/0.6176, allocations: 14.84 kB / 0.6308 GB, free: 8.758 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 2 (boundary_prescriberho_2.medium.phase,boundary_prescriberho_1.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 27 * 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.0001827/0.6178, allocations: 156.1 kB / 0.631 GB, free: 8.613 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.907e-05/0.6179, allocations: 35.14 kB / 0.631 GB, free: 8.594 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001193/0.6191, allocations: 0.7345 MB / 0.6317 GB, free: 8.152 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.211e-05/0.6191, allocations: 14.55 kB / 0.6317 GB, free: 8.145 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.6191, allocations: 5.312 kB / 0.6318 GB, free: 8.141 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.6191, allocations: 0 / 0.6318 GB, free: 8.141 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006021/0.6197, allocations: 0.5322 MB / 0.6323 GB, free: 7.707 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.6197, allocations: 0 / 0.6323 GB, free: 7.707 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002131/0.6199, allocations: 44.48 kB / 0.6323 GB, free: 7.691 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.6199, allocations: 0 / 0.6323 GB, free: 7.691 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.114e-05/0.6199, allocations: 4 kB / 0.6323 GB, free: 7.688 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.6199, allocations: 6.562 kB / 0.6323 GB, free: 7.684 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.6199, allocations: 3.938 kB / 0.6323 GB, free: 7.68 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007333/0.6207, allocations: 467.1 kB / 0.6328 GB, free: 7.375 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001015/0.6208, allocations: 127.5 kB / 0.6329 GB, free: 7.242 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.064e-05/0.6208, allocations: 28 kB / 0.6329 GB, free: 7.223 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002119/0.621, allocations: 12.55 kB / 0.6329 GB, free: 7.219 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.527e-05/0.6211, allocations: 23.72 kB / 0.633 GB, free: 7.203 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.263e-05/0.6211, allocations: 6.656 kB / 0.633 GB, free: 7.199 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003616/0.6215, allocations: 339.6 kB / 0.6333 GB, free: 7 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6215, allocations: 0 / 0.6333 GB, free: 7 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003426/0.6249, allocations: 0.8596 MB / 0.6341 GB, free: 6.84 MB / 462.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: 6 ($cse1.phase,$cse1.region,$cse4.phase,$cse4.region,boundary_prescriberho_1.medium.phase,boundary_prescriberho_2.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.005825/0.6307, allocations: 1.881 MB / 0.636 GB, free: 5.77 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0007789/0.6315, allocations: 261.2 kB / 0.6362 GB, free: 5.652 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.6315, allocations: 3.562 kB / 0.6362 GB, free: 5.652 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003022/0.6318, allocations: 135.2 kB / 0.6363 GB, free: 5.59 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009926/0.6328, allocations: 181 kB / 0.6365 GB, free: 5.496 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006586/0.6394, allocations: 4.039 MB / 0.6405 GB, free: 2.578 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005772/0.64, allocations: 0.8461 MB / 0.6413 GB, free: 1.707 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003675/0.6404, allocations: 146.1 kB / 0.6414 GB, free: 1.57 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002337/0.6406, allocations: 163.4 kB / 0.6416 GB, free: 1.41 MB / 462.1 MB Notification: Performance of SimCode: time 1.132e-06/0.6406, allocations: 4 kB / 0.6416 GB, free: 1.406 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08244/0.723, allocations: 39.06 MB / 0.6797 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.35/11.08, allocations: 18.86 kB / 0.6797 GB, free: 10.46 MB / 0.4981 GB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201597 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEnthalpy/TestSpecificEnthalpy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable specificEnthalpy.h_out in file ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.csv. Warning: Get data of variable specificEnthalpy.h_out from file ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.csv failed! Error: Could not read variable specificEnthalpy1.h_out in file ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.csv. Warning: Get data of variable specificEnthalpy1.h_out from file ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.410552477929741]