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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|cylinder1.H|cylinder1.m|cylinder2.H|springDamper.s_rel|springDamper.v_rel",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|cylinder1.H|cylinder1.m|cylinder2.H|springDamper.s_rel|springDamper.v_rel",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001299/0.001299, allocations: 176.4 kB / 17.4 MB, free: 4.301 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.336/1.336, allocations: 223.3 MB / 241.4 MB, free: 11.69 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000754/0.000754, allocations: 102.2 kB / 292.6 MB, free: 10.77 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002966/0.0002966, allocations: 11.94 kB / 352.3 MB, free: 15.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2011/0.2014, allocations: 50.4 MB / 402.7 MB, free: 32.47 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09393/0.2954, allocations: 83.11 MB / 485.9 MB, free: 13.24 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002142/0.2957, allocations: 83.95 kB / 485.9 MB, free: 13.16 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02498/0.3207, allocations: 9.556 MB / 495.5 MB, free: 3.547 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.3207, allocations: 0 / 495.5 MB, free: 3.547 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.518e-05/0.3207, allocations: 4 kB / 495.5 MB, free: 3.543 MB / 362.7 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.0009796/0.3217, allocations: 0.6296 MB / 496.1 MB, free: 2.859 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.3218, allocations: 8.031 kB / 496.1 MB, free: 2.852 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000113/0.3219, allocations: 44.47 kB / 496.2 MB, free: 2.809 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004816/0.3224, allocations: 323.8 kB / 496.5 MB, free: 2.453 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.691e-05/0.3224, allocations: 20.94 kB / 496.5 MB, free: 2.434 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.654e-05/0.3225, allocations: 28.28 kB / 496.5 MB, free: 2.406 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004869/0.323, allocations: 295.6 kB / 496.8 MB, free: 2.098 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.088e-05/0.323, allocations: 4.172 kB / 496.8 MB, free: 2.094 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.016e-05/0.323, allocations: 15.94 kB / 496.8 MB, free: 2.078 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.323, allocations: 4 kB / 496.8 MB, free: 2.074 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003146/0.3234, allocations: 178.1 kB / 497 MB, free: 1.898 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001363/0.3247, allocations: 0.86 MB / 497.9 MB, free: 0.9727 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005388/0.3253, allocations: 262.3 kB / 498.1 MB, free: 0.7109 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000173/0.3255, allocations: 105.4 kB / 498.2 MB, free: 0.6055 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.725e-05/0.3255, allocations: 4.281 kB / 498.2 MB, free: 0.6016 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002821/0.3258, allocations: 166.6 kB / 498.4 MB, free: 440 kB / 362.7 MB Notification: Performance of pre-optimization done (n=34): time 1.723e-06/0.3258, allocations: 0 / 498.4 MB, free: 440 kB / 362.7 MB Notification: Performance of matching and sorting (n=40): time 0.002257/0.3281, allocations: 1.329 MB / 499.7 MB, free: 14.99 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.431e-05/0.3282, allocations: 191.9 kB / 499.9 MB, free: 14.76 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003539/0.3286, allocations: 320.5 kB / 0.4885 GB, free: 14.44 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.847e-05/0.3286, allocations: 37.7 kB / 0.4885 GB, free: 14.4 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001195/0.3287, allocations: 180.6 kB / 0.4887 GB, free: 14.22 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001098/0.3288, allocations: 141.9 kB / 0.4889 GB, free: 14.08 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.512e-05/0.3289, allocations: 8 kB / 0.4889 GB, free: 14.07 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000127/0.329, allocations: 350.8 kB / 0.4892 GB, free: 13.72 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001842/0.3292, allocations: 96.83 kB / 0.4893 GB, free: 13.62 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002329/0.3294, allocations: 173.3 kB / 0.4895 GB, free: 13.42 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003952/0.3298, allocations: 258.1 kB / 0.4897 GB, free: 13.15 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.3298, allocations: 0 / 0.4897 GB, free: 13.15 MB / 378.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005627/0.3304, allocations: 354.3 kB / 0.49 GB, free: 12.8 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.619e-05/0.3305, allocations: 11.94 kB / 0.4901 GB, free: 12.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.3305, allocations: 4.109 kB / 0.4901 GB, free: 12.78 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.291e-05/0.3306, allocations: 28.84 kB / 0.4901 GB, free: 12.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003215/0.3309, allocations: 83.91 kB / 0.4902 GB, free: 12.67 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001012/0.3319, allocations: 1.288 MB / 0.4914 GB, free: 11.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001638/0.3321, allocations: 16.03 kB / 0.4914 GB, free: 11.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.157e-05/0.3321, allocations: 12 kB / 0.4914 GB, free: 11.22 MB / 378.7 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 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001857/0.3323, allocations: 177.3 kB / 0.4916 GB, free: 11.04 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.244e-05/0.3324, allocations: 39.53 kB / 0.4917 GB, free: 11 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005712/0.3329, allocations: 341.8 kB / 0.492 GB, free: 10.66 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.333, allocations: 8 kB / 0.492 GB, free: 10.65 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.333, allocations: 4 kB / 0.492 GB, free: 10.64 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005969/0.3336, allocations: 0.6607 MB / 0.4926 GB, free: 9.879 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001169/0.3348, allocations: 0.8689 MB / 0.4935 GB, free: 8.941 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.3348, allocations: 4 kB / 0.4935 GB, free: 8.938 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003435/0.3351, allocations: 75.91 kB / 0.4936 GB, free: 8.863 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.232e-06/0.3351, allocations: 4 kB / 0.4936 GB, free: 8.859 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.536e-05/0.3352, allocations: 11.94 kB / 0.4936 GB, free: 8.848 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.865e-06/0.3352, allocations: 8 kB / 0.4936 GB, free: 8.84 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.3352, allocations: 4 kB / 0.4936 GB, free: 8.836 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007525/0.3359, allocations: 0.5532 MB / 0.4941 GB, free: 8.254 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001536/0.3361, allocations: 140.8 kB / 0.4943 GB, free: 8.098 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.817e-05/0.3362, allocations: 15.94 kB / 0.4943 GB, free: 8.082 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001905/0.3364, allocations: 15.98 kB / 0.4943 GB, free: 8.066 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.263e-05/0.3364, allocations: 31.91 kB / 0.4943 GB, free: 8.035 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.286e-05/0.3365, allocations: 16 kB / 0.4943 GB, free: 8.02 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000243/0.3367, allocations: 235 kB / 0.4946 GB, free: 7.789 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3367, allocations: 0 / 0.4946 GB, free: 7.789 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003998/0.3371, allocations: 112.5 kB / 0.4947 GB, free: 7.68 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009026/0.338, allocations: 439.2 kB / 0.4951 GB, free: 7.406 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006051/0.3387, allocations: 374 kB / 0.4954 GB, free: 7.027 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.3387, allocations: 0 / 0.4954 GB, free: 7.027 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002291/0.3389, allocations: 143.7 kB / 0.4956 GB, free: 6.887 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006012/0.3395, allocations: 97.39 kB / 0.4957 GB, free: 6.793 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001762/0.3413, allocations: 1.244 MB / 0.4969 GB, free: 5.508 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003706/0.3417, allocations: 0.8002 MB / 0.4977 GB, free: 4.684 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002106/0.3419, allocations: 51.25 kB / 0.4977 GB, free: 4.633 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.306e-05/0.342, allocations: 31.44 kB / 0.4978 GB, free: 4.602 MB / 378.7 MB Notification: Performance of SimCode: time 3.51e-07/0.342, allocations: 3.938 kB / 0.4978 GB, free: 4.598 MB / 378.7 MB Notification: Performance of Templates: time 0.1562/0.4982, allocations: 4.994 MB / 0.5026 GB, free: 98.5 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.makefile (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 & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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","../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches