Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) 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.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_3.2.3_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_3.2.3_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.001008/0.001008, allocations: 104.1 kB / 17.58 MB, free: 5.422 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.001038/0.001038, allocations: 191.9 kB / 18.51 MB, free: 4.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.393/1.393, allocations: 205.1 MB / 224.4 MB, free: 12.3 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 56.14 kB / 280.6 MB, free: 3.199 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0845/0.0857, allocations: 46.63 MB / 327.3 MB, free: 4.492 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.005211/0.09094, allocations: 3.655 MB / 330.9 MB, free: 0.8086 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002094/0.09308, allocations: 1.017 MB / 331.9 MB, free: 15.78 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003851/0.09349, allocations: 11.94 kB / 332 MB, free: 15.77 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003555/0.09391, allocations: 103.1 kB / 332.1 MB, free: 15.67 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005285/0.09446, allocations: 198.3 kB / 332.3 MB, free: 15.47 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003437/0.09481, allocations: 123.8 kB / 332.4 MB, free: 15.35 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007688/0.09559, allocations: 0.677 MB / 333.1 MB, free: 14.67 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002728/0.09587, allocations: 198.4 kB / 333.2 MB, free: 14.48 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003128/0.09619, allocations: 259 kB / 333.5 MB, free: 14.22 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003363/0.09654, allocations: 294.7 kB / 333.8 MB, free: 13.93 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001003/0.09665, allocations: 56 kB / 333.8 MB, free: 13.88 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001127/0.09677, allocations: 60 kB / 333.9 MB, free: 13.82 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.37e-05/0.09686, allocations: 123.6 kB / 334 MB, free: 13.7 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002715/0.09714, allocations: 314.5 kB / 334.3 MB, free: 13.39 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005314/0.09768, allocations: 0.6735 MB / 335 MB, free: 12.71 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.09769, allocations: 0 / 335 MB, free: 12.71 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.0977, allocations: 4 kB / 335 MB, free: 12.71 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.522e-05/0.09772, allocations: 0 / 335 MB, free: 12.71 MB / 286.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.001397/0.09912, allocations: 0.8972 MB / 335.9 MB, free: 11.75 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.09916, allocations: 12.03 kB / 335.9 MB, free: 11.74 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001262/0.0993, allocations: 64.27 kB / 336 MB, free: 11.68 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006018/0.0999, allocations: 426.5 kB / 336.4 MB, free: 11.23 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001883/0.1001, allocations: 86.88 kB / 336.5 MB, free: 11.14 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.887e-05/0.1002, allocations: 32.38 kB / 336.5 MB, free: 11.11 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007751/0.1009, allocations: 0.4939 MB / 337 MB, free: 10.56 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.101, allocations: 4 kB / 337 MB, free: 10.55 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.895e-05/0.101, allocations: 15.98 kB / 337 MB, free: 10.54 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.327e-05/0.101, allocations: 8 kB / 337 MB, free: 10.53 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008524/0.1019, allocations: 366.4 kB / 337.4 MB, free: 10.17 MB / 286.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.001752/0.1036, allocations: 1.294 MB / 338.7 MB, free: 8.781 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006808/0.1043, allocations: 395.4 kB / 339.1 MB, free: 8.367 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004083/0.1048, allocations: 196.7 kB / 339.3 MB, free: 8.172 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.995e-05/0.1048, allocations: 4 kB / 339.3 MB, free: 8.168 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.51e-05/0.1048, allocations: 38.56 kB / 339.3 MB, free: 8.121 MB / 286.1 MB Notification: Performance of pre-optimization done (n=35): time 1.944e-06/0.1048, allocations: 0 / 339.3 MB, free: 8.121 MB / 286.1 MB Notification: Performance of matching and sorting (n=35): time 0.001611/0.1065, allocations: 0.7627 MB / 340.1 MB, free: 7.309 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001602/0.1066, allocations: 448.9 kB / 340.5 MB, free: 6.766 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004562/0.1071, allocations: 462 kB / 341 MB, free: 6.301 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.576e-05/0.1071, allocations: 33.7 kB / 341 MB, free: 6.262 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001568/0.1073, allocations: 240.4 kB / 341.2 MB, free: 6.023 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.696e-05/0.1074, allocations: 122.2 kB / 341.3 MB, free: 5.902 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001188/0.1075, allocations: 77.69 kB / 341.4 MB, free: 5.82 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.1077, allocations: 362.7 kB / 341.8 MB, free: 5.457 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000384/0.108, allocations: 143.9 kB / 341.9 MB, free: 5.316 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005016/0.1086, allocations: 302.5 kB / 342.2 MB, free: 4.969 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007485/0.1093, allocations: 357.2 kB / 342.6 MB, free: 4.609 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.1093, allocations: 4 kB / 342.6 MB, free: 4.605 MB / 286.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001004/0.1103, allocations: 0.4976 MB / 343.1 MB, free: 4.09 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.529e-05/0.1104, allocations: 37.69 kB / 343.1 MB, free: 4.047 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.1104, allocations: 3.938 kB / 343.1 MB, free: 4.043 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001454/0.1105, allocations: 49.7 kB / 343.1 MB, free: 3.988 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003904/0.1109, allocations: 95.86 kB / 343.2 MB, free: 3.895 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002106/0.1131, allocations: 2.966 MB / 346.2 MB, free: 0.6484 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004337/0.1135, allocations: 63.69 kB / 346.3 MB, free: 0.5859 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.434e-05/0.1135, allocations: 15.94 kB / 346.3 MB, free: 0.5703 MB / 286.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.0002207/0.1138, allocations: 166.1 kB / 346.4 MB, free: 408 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.692e-05/0.1139, allocations: 55.34 kB / 346.5 MB, free: 352 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001043/0.114, allocations: 52.75 kB / 346.6 MB, free: 300 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.114, allocations: 4 kB / 346.6 MB, free: 296 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.114, allocations: 0 / 346.6 MB, free: 296 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001012/0.115, allocations: 0.762 MB / 347.3 MB, free: 15.42 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001642/0.1167, allocations: 1.032 MB / 348.4 MB, free: 14.33 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.1167, allocations: 0 / 348.4 MB, free: 14.33 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004211/0.1171, allocations: 91.88 kB / 348.4 MB, free: 14.24 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.1171, allocations: 0 / 348.4 MB, free: 14.24 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.506e-05/0.1172, allocations: 15.88 kB / 348.5 MB, free: 14.22 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.452e-06/0.1172, allocations: 7.984 kB / 348.5 MB, free: 14.21 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.1172, allocations: 0 / 348.5 MB, free: 14.21 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001333/0.1185, allocations: 0.69 MB / 349.2 MB, free: 13.51 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002098/0.1187, allocations: 172.4 kB / 349.3 MB, free: 13.32 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.174e-05/0.1188, allocations: 11.94 kB / 349.3 MB, free: 13.31 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003724/0.1192, allocations: 31.97 kB / 349.4 MB, free: 13.28 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.825e-05/0.1193, allocations: 27.95 kB / 349.4 MB, free: 13.25 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.777e-05/0.1193, allocations: 4 kB / 349.4 MB, free: 13.25 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003452/0.1197, allocations: 327.1 kB / 349.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1197, allocations: 4.062 kB / 349.7 MB, free: 12.92 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004506/0.1201, allocations: 139.8 kB / 349.9 MB, free: 12.79 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.0001218/0.1203, allocations: 119.1 kB / 350 MB, free: 12.66 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001306/0.1216, allocations: 0.6684 MB / 350.6 MB, free: 11.95 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.1216, allocations: 4 kB / 350.6 MB, free: 11.95 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004406/0.122, allocations: 195.8 kB / 350.8 MB, free: 11.76 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006366/0.1227, allocations: 149.1 kB / 351 MB, free: 11.61 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001524/0.1242, allocations: 0.9348 MB / 351.9 MB, free: 10.65 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003647/0.1246, allocations: 0.8273 MB / 352.7 MB, free: 9.797 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000246/0.1248, allocations: 64.34 kB / 352.8 MB, free: 9.73 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001073/0.125, allocations: 43.44 kB / 352.8 MB, free: 9.688 MB / 302.1 MB Notification: Performance of SimCode: time 2.434e-06/0.125, allocations: 4 kB / 352.9 MB, free: 9.684 MB / 302.1 MB Notification: Performance of Templates: time 0.0144/0.1394, allocations: 8.893 MB / 361.7 MB, free: 0.7852 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.makefile (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/OneMass/OneMass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches