Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.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.001559/0.001559, allocations: 103.6 kB / 21.18 MB, free: 332 kB / 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.001477/0.001477, allocations: 210.9 kB / 24.47 MB, free: 3.547 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.446/1.446, allocations: 207.7 MB / 235.3 MB, free: 9.797 MB / 190.1 MB " [Timeout remaining time 178] 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(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TestCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TestCylinder",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.001859/0.001859, allocations: 59.92 kB / 347.2 MB, free: 9.898 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2696/0.2715, allocations: 49.14 MB / 396.3 MB, free: 8.891 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.003807/0.2753, allocations: 2.8 MB / 399.1 MB, free: 7.035 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001825/0.2771, allocations: 1.13 MB / 400.3 MB, free: 6.273 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001511/0.2773, allocations: 8.094 kB / 400.3 MB, free: 6.27 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005277/0.2778, allocations: 166.8 kB / 400.4 MB, free: 6.207 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004501/0.2783, allocations: 182.3 kB / 400.6 MB, free: 6.105 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003655/0.2786, allocations: 156.6 kB / 400.8 MB, free: 6.02 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004541/0.2791, allocations: 453.4 kB / 401.2 MB, free: 5.793 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000169/0.2793, allocations: 73.12 kB / 401.3 MB, free: 5.754 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001925/0.2795, allocations: 182.4 kB / 401.5 MB, free: 5.672 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00028/0.2797, allocations: 176.6 kB / 401.6 MB, free: 5.609 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.907e-05/0.2798, allocations: 33.58 kB / 401.7 MB, free: 5.605 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001536/0.2799, allocations: 67.47 kB / 401.7 MB, free: 5.594 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.22e-05/0.28, allocations: 88.27 kB / 401.8 MB, free: 5.539 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000142/0.2802, allocations: 161 kB / 402 MB, free: 5.449 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004935/0.2807, allocations: 464.5 kB / 402.4 MB, free: 5.266 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.2807, allocations: 1.25 kB / 402.4 MB, free: 5.266 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2807, allocations: 3.938 kB / 402.4 MB, free: 5.262 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.2807, allocations: 0 / 402.4 MB, free: 5.262 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.0008753/0.2816, allocations: 0.6228 MB / 403.1 MB, free: 4.781 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.2816, allocations: 13.67 kB / 403.1 MB, free: 4.777 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.38e-05/0.2817, allocations: 69.41 kB / 403.1 MB, free: 4.719 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.874e-05/0.2818, allocations: 47.84 kB / 403.2 MB, free: 4.695 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003913/0.2822, allocations: 272.8 kB / 403.4 MB, free: 4.473 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.335e-05/0.2822, allocations: 20.27 kB / 403.5 MB, free: 4.465 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.743e-05/0.2822, allocations: 30.38 kB / 403.5 MB, free: 4.453 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004861/0.2827, allocations: 0.5301 MB / 404 MB, free: 4.004 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.911e-05/0.2827, allocations: 0 / 404 MB, free: 4.004 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.968e-05/0.2828, allocations: 12.41 kB / 404 MB, free: 3.996 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-06/0.2828, allocations: 5.75 kB / 404 MB, free: 3.996 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003083/0.2831, allocations: 183.5 kB / 404.2 MB, free: 3.934 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001201/0.2843, allocations: 0.773 MB / 405 MB, free: 3.406 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005252/0.2848, allocations: 247.9 kB / 405.2 MB, free: 3.305 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000161/0.285, allocations: 87.92 kB / 405.3 MB, free: 3.27 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.433e-05/0.285, allocations: 4.094 kB / 405.3 MB, free: 3.27 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003365/0.2853, allocations: 280.6 kB / 405.6 MB, free: 3.043 MB / 318.1 MB Notification: Performance of pre-optimization done (n=34): time 1.733e-06/0.2853, allocations: 0 / 405.6 MB, free: 3.043 MB / 318.1 MB Notification: Performance of matching and sorting (n=40): time 0.002122/0.2874, allocations: 1.102 MB / 406.7 MB, free: 2.41 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.001e-05/0.2875, allocations: 186.9 kB / 406.9 MB, free: 2.191 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003662/0.2879, allocations: 353.8 kB / 407.2 MB, free: 2.02 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.557e-05/0.2879, allocations: 41.59 kB / 407.3 MB, free: 1.977 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.288, allocations: 196.8 kB / 407.5 MB, free: 1.812 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.12e-05/0.2881, allocations: 142.8 kB / 407.6 MB, free: 1.699 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.211e-05/0.2882, allocations: 77.75 kB / 407.7 MB, free: 1.652 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.738e-05/0.2883, allocations: 357.5 kB / 408 MB, free: 1.316 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001716/0.2884, allocations: 87.28 kB / 408.1 MB, free: 1.289 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002347/0.2887, allocations: 314 kB / 408.4 MB, free: 1 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003391/0.289, allocations: 246.9 kB / 408.7 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.289, allocations: 1.375 kB / 408.7 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005408/0.2895, allocations: 354.9 kB / 409 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.2896, allocations: 6.953 kB / 409 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/0.2896, allocations: 5.062 kB / 409 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.387e-05/0.2897, allocations: 20.97 kB / 409 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003137/0.29, allocations: 89.09 kB / 409.1 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001022/0.291, allocations: 1.298 MB / 410.4 MB, free: 15.37 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001895/0.2912, allocations: 15.84 kB / 410.4 MB, free: 15.36 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.612e-05/0.2912, allocations: 13.62 kB / 410.5 MB, free: 15.36 MB / 334.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: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002093/0.2914, allocations: 166.4 kB / 410.6 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.51e-05/0.2915, allocations: 44.48 kB / 410.7 MB, free: 15.19 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006305/0.2921, allocations: 350.8 kB / 411 MB, free: 15.02 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.2921, allocations: 3.531 kB / 411 MB, free: 15.02 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.924e-06/0.2921, allocations: 0 / 411 MB, free: 15.02 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006937/0.2928, allocations: 0.6652 MB / 411.7 MB, free: 14.41 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001275/0.2941, allocations: 0.7915 MB / 412.5 MB, free: 13.9 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.2941, allocations: 2.469 kB / 412.5 MB, free: 13.9 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003385/0.2944, allocations: 77.7 kB / 412.5 MB, free: 13.89 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.2944, allocations: 4.094 kB / 412.5 MB, free: 13.89 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.531e-05/0.2945, allocations: 7.422 kB / 412.6 MB, free: 13.89 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5e-06/0.2945, allocations: 4.188 kB / 412.6 MB, free: 13.89 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.2945, allocations: 5.875 kB / 412.6 MB, free: 13.89 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008543/0.2953, allocations: 0.5636 MB / 413.1 MB, free: 13.55 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001507/0.2955, allocations: 62.97 kB / 413.2 MB, free: 13.52 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.166e-05/0.2955, allocations: 9.062 kB / 413.2 MB, free: 13.52 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002254/0.2957, allocations: 18.25 kB / 413.2 MB, free: 13.51 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.513e-05/0.2958, allocations: 30.69 kB / 413.2 MB, free: 13.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.561e-05/0.2959, allocations: 10.97 kB / 413.3 MB, free: 13.5 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003201/0.2962, allocations: 264.9 kB / 413.5 MB, free: 13.36 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2962, allocations: 1.094 kB / 413.5 MB, free: 13.36 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004193/0.2966, allocations: 101.8 kB / 413.6 MB, free: 13.34 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (cylinder1.m,cylinder1.H,cylinder2.H,springDamper.s_rel,springDamper.v_rel) * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002742/0.2993, allocations: 1.454 MB / 415.1 MB, free: 12.17 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006567/0.3, allocations: 371.9 kB / 415.4 MB, free: 11.97 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.3, allocations: 1.156 kB / 415.4 MB, free: 11.97 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000239/0.3002, allocations: 130.4 kB / 415.6 MB, free: 11.93 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005678/0.3008, allocations: 108.9 kB / 415.7 MB, free: 11.88 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005251/0.3061, allocations: 3.684 MB / 419.4 MB, free: 9.367 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002184/0.3063, allocations: 212 kB / 419.6 MB, free: 9.23 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001953/0.3065, allocations: 47.94 kB / 419.6 MB, free: 9.203 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001938/0.3067, allocations: 128.2 kB / 419.7 MB, free: 9.102 MB / 334.1 MB Notification: Performance of SimCode: time 5.92e-07/0.3067, allocations: 0 / 419.7 MB, free: 9.102 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0443/0.351, allocations: 10.47 MB / 430.2 MB, free: 120 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.05/13.41, allocations: 7.969 kB / 430.2 MB, free: 112 kB / 334.1 MB " [Timeout remaining time 646] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TestCylinder.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/TestCylinder/TestCylinder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable cylinder1.H in file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.csv. Warning: Get data of variable cylinder1.H from file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.csv failed! Error: Could not read variable cylinder1.m in file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.csv. Warning: Get data of variable cylinder1.m from file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.csv failed! Error: Could not read variable cylinder2.H in file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.csv. Warning: Get data of variable cylinder2.H from file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.csv failed! Error: Could not read variable springDamper.s_rel in file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.csv. Warning: Get data of variable springDamper.s_rel from file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.csv failed! Error: Could not read variable springDamper.v_rel in file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.csv. Warning: Get data of variable springDamper.v_rel from file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.008590606041253]