Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.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: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 93.84 kB / 16.65 MB, free: 6.535 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.001185/0.001185, allocations: 174.2 kB / 17.56 MB, free: 6.184 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.358/1.358, allocations: 223.3 MB / 241.6 MB, free: 212 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002529/0.000253, allocations: 7.938 kB / 301.4 MB, free: 6.152 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08775/0.08802, allocations: 50.41 MB / 351.8 MB, free: 3.73 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.003359/0.09142, allocations: 3.314 MB / 355.1 MB, free: 404 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001343/0.09278, allocations: 0.9074 MB / 356 MB, free: 15.48 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001535/0.09295, allocations: 8 kB / 356.1 MB, free: 15.47 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002534/0.09322, allocations: 95.3 kB / 356.1 MB, free: 15.38 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003404/0.09357, allocations: 170.7 kB / 356.3 MB, free: 15.21 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002377/0.09381, allocations: 111.9 kB / 356.4 MB, free: 15.1 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005872/0.09441, allocations: 0.6535 MB / 357.1 MB, free: 14.45 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002699/0.09469, allocations: 170.6 kB / 357.2 MB, free: 14.28 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002346/0.09493, allocations: 238.9 kB / 357.5 MB, free: 14.04 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002725/0.09521, allocations: 262.8 kB / 357.7 MB, free: 13.79 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.232e-05/0.09529, allocations: 39.94 kB / 357.8 MB, free: 13.75 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.862e-05/0.09537, allocations: 40 kB / 357.8 MB, free: 13.71 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.614e-05/0.09546, allocations: 103.5 kB / 357.9 MB, free: 13.61 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002642/0.09573, allocations: 304.3 kB / 358.2 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000542/0.09628, allocations: 0.6579 MB / 358.9 MB, free: 12.64 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.09629, allocations: 0 / 358.9 MB, free: 12.64 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.226e-06/0.0963, allocations: 0 / 358.9 MB, free: 12.64 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.758e-06/0.09632, allocations: 7.938 kB / 358.9 MB, free: 12.63 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001294/0.09762, allocations: 0.8078 MB / 359.7 MB, free: 11.77 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.09766, allocations: 12.03 kB / 359.7 MB, free: 11.75 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001056/0.09778, allocations: 60.28 kB / 359.8 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006291/0.09841, allocations: 438.5 kB / 360.2 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002129/0.09864, allocations: 86.88 kB / 360.3 MB, free: 11.14 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.012e-05/0.09871, allocations: 40.36 kB / 360.3 MB, free: 11.1 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008982/0.09961, allocations: 0.4971 MB / 360.8 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.759e-05/0.09964, allocations: 4 kB / 360.8 MB, free: 10.54 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.904e-05/0.09969, allocations: 15.94 kB / 360.8 MB, free: 10.53 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-06/0.09971, allocations: 12 kB / 360.8 MB, free: 10.52 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00102/0.1007, allocations: 378.4 kB / 361.2 MB, free: 10.14 MB / 302.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002016/0.1028, allocations: 1.298 MB / 362.5 MB, free: 8.758 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000767/0.1035, allocations: 403.4 kB / 362.9 MB, free: 8.336 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004949/0.104, allocations: 204.8 kB / 363.1 MB, free: 8.133 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.704e-05/0.1041, allocations: 7.984 kB / 363.1 MB, free: 8.125 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.789e-05/0.1042, allocations: 46.5 kB / 363.1 MB, free: 8.07 MB / 302.1 MB Notification: Performance of pre-optimization done (n=35): time 1.903e-06/0.1042, allocations: 0 / 363.1 MB, free: 8.07 MB / 302.1 MB Notification: Performance of matching and sorting (n=35): time 0.00187/0.1061, allocations: 0.7939 MB / 363.9 MB, free: 7.227 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002368/0.1063, allocations: 448.9 kB / 364.4 MB, free: 6.684 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005721/0.1069, allocations: 457.9 kB / 364.8 MB, free: 6.223 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.872e-05/0.1069, allocations: 37.7 kB / 364.9 MB, free: 6.18 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001846/0.1071, allocations: 240.4 kB / 365.1 MB, free: 5.941 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.587e-05/0.1072, allocations: 118.2 kB / 365.2 MB, free: 5.824 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.351e-05/0.1073, allocations: 37.7 kB / 365.3 MB, free: 5.781 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.1074, allocations: 358.7 kB / 365.6 MB, free: 5.422 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004538/0.1079, allocations: 163.8 kB / 365.8 MB, free: 5.262 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000556/0.1085, allocations: 306.8 kB / 366.1 MB, free: 4.906 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008752/0.1093, allocations: 385.1 kB / 366.4 MB, free: 4.52 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.1094, allocations: 3.938 kB / 366.4 MB, free: 4.516 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.00112/0.1105, allocations: 0.5213 MB / 367 MB, free: 3.977 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.097e-05/0.1105, allocations: 29.7 kB / 367 MB, free: 3.941 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.1106, allocations: 4 kB / 367 MB, free: 3.938 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002534/0.1108, allocations: 57.62 kB / 367.1 MB, free: 3.875 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004381/0.1113, allocations: 95.88 kB / 367.1 MB, free: 3.781 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002562/0.1138, allocations: 2.74 MB / 369.9 MB, free: 0.7734 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000504/0.1144, allocations: 71.59 kB / 370 MB, free: 0.7031 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.56e-05/0.1144, allocations: 12 kB / 370 MB, free: 0.6914 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002563/0.1147, allocations: 169.8 kB / 370.1 MB, free: 0.5156 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/0.1148, allocations: 59.38 kB / 370.2 MB, free: 468 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000134/0.1149, allocations: 52.75 kB / 370.2 MB, free: 416 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.1149, allocations: 4 kB / 370.2 MB, free: 412 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.1149, allocations: 0 / 370.2 MB, free: 412 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1921/0.3071, allocations: 0.7691 MB / 371 MB, free: 24.7 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001925/0.309, allocations: 1.06 MB / 372.1 MB, free: 24.36 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.309, allocations: 0 / 372.1 MB, free: 24.36 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004895/0.3095, allocations: 97.98 kB / 372.2 MB, free: 24.36 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.3095, allocations: 1.312 kB / 372.2 MB, free: 24.36 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.509e-05/0.3096, allocations: 10.67 kB / 372.2 MB, free: 24.36 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.3096, allocations: 1.344 kB / 372.2 MB, free: 24.36 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3096, allocations: 0.9062 kB / 372.2 MB, free: 24.36 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00137/0.311, allocations: 0.7172 MB / 372.9 MB, free: 24.22 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001617/0.3111, allocations: 170.1 kB / 373.1 MB, free: 24.13 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.671e-05/0.3112, allocations: 10.39 kB / 373.1 MB, free: 24.13 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004019/0.3116, allocations: 46.61 kB / 373.1 MB, free: 24.13 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.811e-05/0.3117, allocations: 23.83 kB / 373.1 MB, free: 24.13 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.151e-05/0.3117, allocations: 10.05 kB / 373.2 MB, free: 24.13 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003696/0.3121, allocations: 327.2 kB / 373.5 MB, free: 24.04 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3121, allocations: 0 / 373.5 MB, free: 24.04 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004921/0.3126, allocations: 141.3 kB / 373.6 MB, free: 24.04 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 35 * 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 Backend phase and start with SimCode phase: time 0.0001088/0.3127, allocations: 111.1 kB / 373.7 MB, free: 23.95 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001225/0.314, allocations: 0.6779 MB / 374.4 MB, free: 23.66 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.314, allocations: 3.234 kB / 374.4 MB, free: 23.66 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004306/0.3144, allocations: 204.6 kB / 374.6 MB, free: 23.66 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006746/0.3151, allocations: 132.1 kB / 374.7 MB, free: 23.66 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001387/0.3165, allocations: 1.155 MB / 375.9 MB, free: 23.04 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002623/0.3168, allocations: 0.829 MB / 376.7 MB, free: 22.33 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002501/0.317, allocations: 59.94 kB / 376.8 MB, free: 22.31 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001095/0.3171, allocations: 48.44 kB / 376.8 MB, free: 22.3 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3171, allocations: 0 / 376.8 MB, free: 22.3 MB / 302.1 MB Notification: Performance of Templates: time 0.01277/0.3299, allocations: 8.193 MB / 385 MB, free: 19.98 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.makefile (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/OneMass/OneMass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches