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.001256/0.001256, allocations: 104.2 kB / 21.96 MB, free: 5.219 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.00126/0.00126, allocations: 214 kB / 25.26 MB, free: 3.129 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.297/1.297, allocations: 207.7 MB / 236.1 MB, free: 9.926 MB / 190.1 MB " [Timeout remaining time 179] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TestCylinder",fmuType="cs",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.001638/0.001638, allocations: 55.94 kB / 348 MB, free: 9.898 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.222/0.2236, allocations: 49.15 MB / 397.1 MB, free: 8.875 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.003655/0.2273, allocations: 2.786 MB / 399.9 MB, free: 7.035 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001698/0.229, allocations: 1.131 MB / 401 MB, free: 6.27 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001322/0.2291, allocations: 8.25 kB / 401.1 MB, free: 6.266 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004248/0.2296, allocations: 159 kB / 401.2 MB, free: 6.211 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000369/0.2299, allocations: 194.6 kB / 401.4 MB, free: 6.098 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003015/0.2302, allocations: 150.7 kB / 401.5 MB, free: 6.016 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003997/0.2306, allocations: 447.7 kB / 402 MB, free: 5.797 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001473/0.2308, allocations: 75.09 kB / 402.1 MB, free: 5.754 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000184/0.231, allocations: 183.6 kB / 402.2 MB, free: 5.672 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002322/0.2312, allocations: 200 kB / 402.4 MB, free: 5.586 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.231e-05/0.2312, allocations: 30.06 kB / 402.5 MB, free: 5.586 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001376/0.2314, allocations: 75.73 kB / 402.5 MB, free: 5.566 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.982e-05/0.2315, allocations: 82.69 kB / 402.6 MB, free: 5.516 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001385/0.2316, allocations: 155 kB / 402.8 MB, free: 5.434 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004665/0.2321, allocations: 465.8 kB / 403.2 MB, free: 5.246 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.2321, allocations: 1.219 kB / 403.2 MB, free: 5.246 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2321, allocations: 0 / 403.2 MB, free: 5.246 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.144e-06/0.2321, allocations: 0.75 kB / 403.2 MB, free: 5.246 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.0008739/0.233, allocations: 0.6279 MB / 403.9 MB, free: 4.762 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.233, allocations: 13.52 kB / 403.9 MB, free: 4.758 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.014e-05/0.233, allocations: 9.812 kB / 403.9 MB, free: 4.758 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.127e-05/0.2331, allocations: 76.27 kB / 403.9 MB, free: 4.695 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.807e-05/0.2332, allocations: 49.12 kB / 404 MB, free: 4.672 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003865/0.2336, allocations: 265.5 kB / 404.3 MB, free: 4.457 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.358e-05/0.2336, allocations: 33.22 kB / 404.3 MB, free: 4.438 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.967e-05/0.2337, allocations: 31.3 kB / 404.3 MB, free: 4.426 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000512/0.2342, allocations: 0.545 MB / 404.9 MB, free: 3.973 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.654e-05/0.2342, allocations: 6.219 kB / 404.9 MB, free: 3.969 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.008e-05/0.2342, allocations: 11.66 kB / 404.9 MB, free: 3.961 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.868e-06/0.2342, allocations: 6.5 kB / 404.9 MB, free: 3.961 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003342/0.2346, allocations: 197.9 kB / 405.1 MB, free: 3.898 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001319/0.2359, allocations: 0.8337 MB / 405.9 MB, free: 3.344 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005285/0.2364, allocations: 263.4 kB / 406.2 MB, free: 3.246 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001879/0.2366, allocations: 122.1 kB / 406.3 MB, free: 3.199 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.122e-05/0.2366, allocations: 4.125 kB / 406.3 MB, free: 3.199 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003353/0.237, allocations: 291.3 kB / 406.6 MB, free: 2.977 MB / 318.1 MB Notification: Performance of pre-optimization done (n=44): time 2.245e-06/0.237, allocations: 0 / 406.6 MB, free: 2.977 MB / 318.1 MB Notification: Performance of matching and sorting (n=60): time 0.003176/0.2401, allocations: 1.63 MB / 408.2 MB, free: 2.152 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.523e-05/0.2402, allocations: 190.1 kB / 408.4 MB, free: 1.934 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003306/0.2405, allocations: 357.7 kB / 408.7 MB, free: 1.754 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.992e-05/0.2406, allocations: 41.33 kB / 408.8 MB, free: 1.711 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.675e-05/0.2407, allocations: 187.3 kB / 409 MB, free: 1.555 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001066/0.2408, allocations: 218 kB / 409.2 MB, free: 1.383 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001164/0.2409, allocations: 101.1 kB / 409.3 MB, free: 1.324 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.148e-05/0.2409, allocations: 355.5 kB / 409.6 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002074/0.2411, allocations: 126.7 kB / 409.7 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002728/0.2414, allocations: 358.4 kB / 410.1 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004462/0.2419, allocations: 336.6 kB / 410.4 MB, free: 484 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.2419, allocations: 0 / 410.4 MB, free: 484 kB / 318.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0006174/0.2425, allocations: 469.9 kB / 410.9 MB, free: 268 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.2425, allocations: 5.406 kB / 410.9 MB, free: 268 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.2425, allocations: 1.062 kB / 410.9 MB, free: 268 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.063e-05/0.2426, allocations: 20.89 kB / 410.9 MB, free: 256 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004247/0.243, allocations: 132.2 kB / 411 MB, free: 240 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001093/0.2441, allocations: 1.289 MB / 412.3 MB, free: 14.94 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002184/0.2443, allocations: 16.25 kB / 412.3 MB, free: 14.93 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.055e-05/0.2443, allocations: 16.38 kB / 412.4 MB, free: 14.93 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 (69): * Single equations (assignments): 68 * 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.0002084/0.2446, allocations: 173.9 kB / 412.5 MB, free: 14.78 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.265e-05/0.2446, allocations: 54.98 kB / 412.6 MB, free: 14.75 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007695/0.2454, allocations: 470.6 kB / 413 MB, free: 14.54 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.181e-06/0.2454, allocations: 6.406 kB / 413.1 MB, free: 14.54 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-06/0.2454, allocations: 0 / 413.1 MB, free: 14.54 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008021/0.2462, allocations: 0.7613 MB / 413.8 MB, free: 13.89 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001612/0.2478, allocations: 1.025 MB / 414.8 MB, free: 13.27 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-06/0.2478, allocations: 2.609 kB / 414.8 MB, free: 13.27 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004205/0.2483, allocations: 115 kB / 415 MB, free: 13.26 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.2483, allocations: 5.375 kB / 415 MB, free: 13.26 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.26e-05/0.2483, allocations: 14.88 kB / 415 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.87e-06/0.2483, allocations: 7.406 kB / 415 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.2483, allocations: 2.922 kB / 415 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001024/0.2493, allocations: 0.7333 MB / 415.7 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001661/0.2495, allocations: 72.86 kB / 415.8 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.97e-05/0.2496, allocations: 14.91 kB / 415.8 MB, free: 12.79 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002464/0.2498, allocations: 19.78 kB / 415.8 MB, free: 12.79 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.097e-05/0.2499, allocations: 38.34 kB / 415.9 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.821e-05/0.2499, allocations: 19.3 kB / 415.9 MB, free: 12.78 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002665/0.2502, allocations: 272.3 kB / 416.1 MB, free: 12.63 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2502, allocations: 0 / 416.1 MB, free: 12.63 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004375/0.2506, allocations: 121.2 kB / 416.3 MB, free: 12.61 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 5 ($outputAlias_s1,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 (61): * Single equations (assignments): 59 * 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.003088/0.2537, allocations: 1.695 MB / 418 MB, free: 11.25 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000778/0.2545, allocations: 457.2 kB / 418.4 MB, free: 10.99 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.2545, allocations: 1.094 kB / 418.4 MB, free: 10.99 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003038/0.2548, allocations: 178.9 kB / 418.6 MB, free: 10.92 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006076/0.2554, allocations: 104.2 kB / 418.7 MB, free: 10.86 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005386/0.2608, allocations: 4.119 MB / 422.8 MB, free: 7.996 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002203/0.261, allocations: 226.8 kB / 423 MB, free: 7.859 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000211/0.2612, allocations: 63.09 kB / 423.1 MB, free: 7.824 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002253/0.2614, allocations: 151.7 kB / 423.2 MB, free: 7.707 MB / 334.1 MB Notification: Performance of SimCode: time 6.61e-07/0.2614, allocations: 1.156 kB / 423.2 MB, free: 7.707 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03827/0.2997, allocations: 11.45 MB / 434.7 MB, free: 12.38 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.93/13.23, allocations: 8.016 kB / 434.7 MB, free: 12.37 MB / 350.1 MB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TestCylinder_fmu --startTime=0 --stopTime=2 --stepSize=0.001 --timeout=50 --tolerance=1e-06 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.mat","/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.m in file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.mat. Warning: Get data of variable cylinder1.m from file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.606342414044775]