Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_TestCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_TestCylinder",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001272/0.001278, allocations: 113.2 kB / 17.06 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001317/0.001317, allocations: 198.9 kB / 18.01 MB, free: 5.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.286/1.286, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001093/0.001093, allocations: 43.94 kB / 350.8 MB, free: 3.754 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2719/0.273, allocations: 49.45 MB / 400.2 MB, free: 8.406 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.00428/0.2773, allocations: 2.998 MB / 403.2 MB, free: 5.805 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002167/0.2795, allocations: 1.262 MB / 404.5 MB, free: 4.535 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002745/0.2798, allocations: 11.88 kB / 404.5 MB, free: 4.523 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004905/0.2803, allocations: 143.2 kB / 404.6 MB, free: 4.383 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005314/0.2809, allocations: 166.9 kB / 404.8 MB, free: 4.219 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000505/0.2814, allocations: 175.5 kB / 405 MB, free: 4.047 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005807/0.282, allocations: 432.5 kB / 405.4 MB, free: 3.625 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002045/0.2822, allocations: 111.5 kB / 405.5 MB, free: 3.516 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002699/0.2825, allocations: 175.3 kB / 405.7 MB, free: 3.344 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002398/0.2827, allocations: 191.1 kB / 405.9 MB, free: 3.156 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.714e-05/0.2828, allocations: 28 kB / 405.9 MB, free: 3.129 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001322/0.2829, allocations: 56 kB / 405.9 MB, free: 3.074 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.066e-05/0.283, allocations: 83.69 kB / 406 MB, free: 2.992 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001709/0.2832, allocations: 190.9 kB / 406.2 MB, free: 2.805 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004654/0.2837, allocations: 440.2 kB / 406.6 MB, free: 2.375 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.2837, allocations: 3.984 kB / 406.6 MB, free: 2.371 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.2837, allocations: 0 / 406.6 MB, free: 2.371 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.203e-06/0.2837, allocations: 0 / 406.6 MB, free: 2.371 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.0009663/0.2847, allocations: 0.6829 MB / 407.3 MB, free: 1.637 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.2847, allocations: 12.03 kB / 407.3 MB, free: 1.625 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.927e-05/0.2848, allocations: 71.12 kB / 407.4 MB, free: 1.547 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.746e-05/0.2849, allocations: 44.47 kB / 407.4 MB, free: 1.504 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004221/0.2854, allocations: 315.8 kB / 407.8 MB, free: 1.16 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.137e-05/0.2854, allocations: 20.94 kB / 407.8 MB, free: 1.141 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.54e-05/0.2854, allocations: 39.84 kB / 407.8 MB, free: 1.102 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004627/0.2859, allocations: 299.1 kB / 408.1 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.929e-05/0.2859, allocations: 7.984 kB / 408.1 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.704e-05/0.286, allocations: 15.94 kB / 408.1 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.286, allocations: 4 kB / 408.1 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003114/0.2863, allocations: 182.1 kB / 408.3 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001233/0.2875, allocations: 0.856 MB / 409.2 MB, free: 15.65 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005221/0.2881, allocations: 263.4 kB / 409.4 MB, free: 15.39 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001666/0.2883, allocations: 97.38 kB / 409.5 MB, free: 15.29 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.893e-05/0.2883, allocations: 8.281 kB / 409.5 MB, free: 15.28 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003052/0.2886, allocations: 162.6 kB / 409.7 MB, free: 15.11 MB / 334.1 MB Notification: Performance of pre-optimization done (n=34): time 2.164e-06/0.2886, allocations: 0 / 409.7 MB, free: 15.11 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.002418/0.2911, allocations: 1.313 MB / 411 MB, free: 13.68 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.552e-05/0.2912, allocations: 187.9 kB / 411.2 MB, free: 13.46 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003126/0.2915, allocations: 320.6 kB / 411.5 MB, free: 13.13 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.98e-05/0.2915, allocations: 45.64 kB / 411.5 MB, free: 13.08 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001269/0.2917, allocations: 192.5 kB / 411.7 MB, free: 12.89 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.679e-05/0.2918, allocations: 138 kB / 411.9 MB, free: 12.75 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001022/0.2919, allocations: 74.12 kB / 411.9 MB, free: 12.67 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.292, allocations: 350.7 kB / 412.3 MB, free: 12.32 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001694/0.2922, allocations: 84.84 kB / 412.4 MB, free: 12.24 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002319/0.2924, allocations: 185.3 kB / 412.5 MB, free: 12.02 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003911/0.2928, allocations: 242.2 kB / 412.8 MB, free: 11.77 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.2928, allocations: 4 kB / 412.8 MB, free: 11.77 MB / 334.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005847/0.2934, allocations: 354.3 kB / 413.1 MB, free: 11.41 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.2935, allocations: 4 kB / 413.1 MB, free: 11.41 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.2935, allocations: 4 kB / 413.1 MB, free: 11.4 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.071e-05/0.2936, allocations: 20.84 kB / 413.2 MB, free: 11.38 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003311/0.2939, allocations: 91.84 kB / 413.2 MB, free: 11.29 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001119/0.295, allocations: 1.398 MB / 414.6 MB, free: 9.75 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001834/0.2952, allocations: 24.08 kB / 414.7 MB, free: 9.727 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.276e-05/0.2953, allocations: 12 kB / 414.7 MB, free: 9.715 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.0001779/0.2954, allocations: 161.4 kB / 414.8 MB, free: 9.551 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.663e-05/0.2955, allocations: 43.47 kB / 414.9 MB, free: 9.508 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.54e-05/0.2956, allocations: 47.88 kB / 414.9 MB, free: 9.461 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.2956, allocations: 4 kB / 414.9 MB, free: 9.457 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.2956, allocations: 3.984 kB / 414.9 MB, free: 9.453 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005751/0.2962, allocations: 0.6534 MB / 415.6 MB, free: 8.695 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001075/0.2973, allocations: 0.8452 MB / 416.4 MB, free: 7.781 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.2973, allocations: 0 / 416.4 MB, free: 7.781 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003008/0.2976, allocations: 79.89 kB / 416.5 MB, free: 7.703 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.795e-06/0.2976, allocations: 4 kB / 416.5 MB, free: 7.699 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.379e-05/0.2977, allocations: 12.12 kB / 416.5 MB, free: 7.688 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.968e-06/0.2977, allocations: 3.984 kB / 416.5 MB, free: 7.684 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.2977, allocations: 4 kB / 416.5 MB, free: 7.68 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007005/0.2984, allocations: 0.5503 MB / 417.1 MB, free: 7.102 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001319/0.2985, allocations: 136.7 kB / 417.2 MB, free: 6.949 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.476e-05/0.2986, allocations: 12 kB / 417.2 MB, free: 6.938 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002076/0.2988, allocations: 19.92 kB / 417.3 MB, free: 6.918 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.043e-05/0.2988, allocations: 27.91 kB / 417.3 MB, free: 6.891 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.685e-05/0.2989, allocations: 12 kB / 417.3 MB, free: 6.879 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002133/0.2991, allocations: 239 kB / 417.5 MB, free: 6.648 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2991, allocations: 0 / 417.5 MB, free: 6.648 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003703/0.2995, allocations: 100.6 kB / 417.6 MB, free: 6.551 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 (40): * Single equations (assignments): 38 * 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.001707/0.3012, allocations: 1.4 MB / 419 MB, free: 5.273 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005783/0.3018, allocations: 382.7 kB / 419.4 MB, free: 4.887 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.3018, allocations: 0 / 419.4 MB, free: 4.887 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002064/0.302, allocations: 136 kB / 419.5 MB, free: 4.754 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005193/0.3025, allocations: 90.98 kB / 419.6 MB, free: 4.668 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004105/0.3067, allocations: 3.62 MB / 423.2 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003286/0.307, allocations: 0.7963 MB / 424 MB, free: 88 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001537/0.3072, allocations: 55.23 kB / 424.1 MB, free: 32 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000182/0.3074, allocations: 139.4 kB / 424.2 MB, free: 15.89 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3074, allocations: 0 / 424.2 MB, free: 15.89 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05064/0.358, allocations: 9.443 MB / 433.7 MB, free: 6.668 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.61/11.96, allocations: 19.97 kB / 433.7 MB, free: 6.648 MB / 350.1 MB (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_TestCylinder_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_TestCylinder.fmu > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/TestCylinder/TestCylinder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches