Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003994/0.003994, allocations: 187 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.413/2.413, allocations: 205.4 MB / 222.5 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001135/0.001135, allocations: 102.8 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003815/0.0003817, allocations: 8 kB / 327 MB, free: 15.1 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09525/0.09566, allocations: 47.59 MB / 374.5 MB, free: 15.44 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.006755/0.1025, allocations: 2.762 MB / 377.3 MB, free: 12.66 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002398/0.105, allocations: 0.9129 MB / 378.2 MB, free: 11.73 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004459/0.1055, allocations: 4 kB / 378.2 MB, free: 11.73 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003078/0.1058, allocations: 71.45 kB / 378.3 MB, free: 11.66 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006812/0.1065, allocations: 199.4 kB / 378.5 MB, free: 11.46 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003863/0.1069, allocations: 87.89 kB / 378.6 MB, free: 11.38 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009266/0.1078, allocations: 447.5 kB / 379 MB, free: 10.94 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003683/0.1082, allocations: 158.3 kB / 379.2 MB, free: 10.79 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003261/0.1086, allocations: 199.3 kB / 379.4 MB, free: 10.59 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003995/0.109, allocations: 231 kB / 379.6 MB, free: 10.36 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 9.246e-05/0.1091, allocations: 32 kB / 379.6 MB, free: 10.33 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00013/0.1092, allocations: 36 kB / 379.6 MB, free: 10.3 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001481/0.1094, allocations: 91.55 kB / 379.7 MB, free: 10.21 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001632/0.1096, allocations: 125.5 kB / 379.9 MB, free: 10.08 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006617/0.1102, allocations: 450.9 kB / 380.3 MB, free: 9.637 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.1103, allocations: 0 / 380.3 MB, free: 9.637 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.288e-06/0.1103, allocations: 4 kB / 380.3 MB, free: 9.633 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.061e-05/0.1103, allocations: 3.938 kB / 380.3 MB, free: 9.629 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001795/0.1121, allocations: 0.7571 MB / 381.1 MB, free: 8.812 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/0.1122, allocations: 8.031 kB / 381.1 MB, free: 8.805 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001762/0.1124, allocations: 59.34 kB / 381.1 MB, free: 8.746 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000721/0.1131, allocations: 357.6 kB / 381.5 MB, free: 8.359 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001732/0.1133, allocations: 62.36 kB / 381.5 MB, free: 8.293 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.426e-05/0.1134, allocations: 28 kB / 381.6 MB, free: 8.266 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001195/0.1146, allocations: 456.9 kB / 382 MB, free: 7.766 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.205e-05/0.1146, allocations: 0 / 382 MB, free: 7.766 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.32e-05/0.1147, allocations: 16 kB / 382 MB, free: 7.75 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.397e-05/0.1147, allocations: 12 kB / 382 MB, free: 7.738 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009879/0.1157, allocations: 282.5 kB / 382.3 MB, free: 7.461 MB / 282.7 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.003311/0.1191, allocations: 1.271 MB / 383.6 MB, free: 6.098 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00212/0.1212, allocations: 440.4 kB / 384 MB, free: 5.641 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.094e-05/0.1214, allocations: 8 kB / 384 MB, free: 5.633 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.507e-05/0.1214, allocations: 38.56 kB / 384.1 MB, free: 5.586 MB / 282.7 MB Notification: Performance of pre-optimization done (n=32): time 7.515e-06/0.1215, allocations: 0 / 384.1 MB, free: 5.586 MB / 282.7 MB Notification: Performance of matching and sorting (n=32): time 0.002795/0.1243, allocations: 0.6068 MB / 384.7 MB, free: 4.93 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003764/0.1247, allocations: 452.8 kB / 385.1 MB, free: 4.383 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001262/0.126, allocations: 418 kB / 385.5 MB, free: 3.965 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001452/0.1262, allocations: 37.7 kB / 385.6 MB, free: 3.922 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003424/0.1266, allocations: 266.9 kB / 385.8 MB, free: 3.66 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002136/0.1268, allocations: 110.3 kB / 385.9 MB, free: 3.551 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.06e-05/0.1269, allocations: 12 kB / 385.9 MB, free: 3.539 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001871/0.1271, allocations: 322.8 kB / 386.3 MB, free: 3.215 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006483/0.1278, allocations: 104.6 kB / 386.4 MB, free: 3.109 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009568/0.1287, allocations: 256.8 kB / 386.6 MB, free: 2.809 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008158/0.1296, allocations: 159.2 kB / 386.8 MB, free: 2.648 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.733e-06/0.1296, allocations: 4 kB / 386.8 MB, free: 2.645 MB / 282.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001868/0.1315, allocations: 393.3 kB / 387.1 MB, free: 2.242 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.413e-05/0.1316, allocations: 37.64 kB / 387.2 MB, free: 2.199 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/0.1317, allocations: 0 / 387.2 MB, free: 2.199 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003298/0.132, allocations: 53.67 kB / 387.2 MB, free: 2.141 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008811/0.1329, allocations: 79.84 kB / 387.3 MB, free: 2.062 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2652/0.3982, allocations: 2.752 MB / 390.1 MB, free: 19.29 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008029/0.399, allocations: 54.45 kB / 390.1 MB, free: 19.29 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.494e-05/0.3991, allocations: 11.88 kB / 390.1 MB, free: 19.29 MB / 282.7 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 (36): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003134/0.3994, allocations: 166.4 kB / 390.3 MB, free: 19.17 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001265/0.3996, allocations: 51.92 kB / 390.3 MB, free: 19.17 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001487/0.3997, allocations: 52.94 kB / 390.4 MB, free: 19.16 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.3997, allocations: 3.703 kB / 390.4 MB, free: 19.16 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.808e-06/0.3998, allocations: 0.9062 kB / 390.4 MB, free: 19.16 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001031/0.4008, allocations: 0.6586 MB / 391.1 MB, free: 18.63 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002209/0.403, allocations: 0.8854 MB / 391.9 MB, free: 18.3 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.4031, allocations: 0 / 391.9 MB, free: 18.3 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008248/0.4039, allocations: 71.84 kB / 392 MB, free: 18.3 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.271e-05/0.4039, allocations: 1.219 kB / 392 MB, free: 18.3 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.168e-05/0.404, allocations: 6.672 kB / 392 MB, free: 18.3 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.206e-05/0.4041, allocations: 4.75 kB / 392 MB, free: 18.3 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.4041, allocations: 5 kB / 392 MB, free: 18.29 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002035/0.4061, allocations: 0.5325 MB / 392.6 MB, free: 18.14 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003077/0.4065, allocations: 156.4 kB / 392.7 MB, free: 18.02 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001032/0.4066, allocations: 8.625 kB / 392.7 MB, free: 18.02 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005949/0.4072, allocations: 20.72 kB / 392.7 MB, free: 18.02 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.336e-05/0.4073, allocations: 17.17 kB / 392.8 MB, free: 18.02 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.239e-05/0.4073, allocations: 14.3 kB / 392.8 MB, free: 18.02 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004808/0.4078, allocations: 296.2 kB / 393.1 MB, free: 17.88 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.4078, allocations: 0 / 393.1 MB, free: 17.88 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000671/0.4085, allocations: 132.9 kB / 393.2 MB, free: 17.86 MB / 282.7 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 (32): * Single equations (assignments): 32 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001388/0.4087, allocations: 103.4 kB / 393.3 MB, free: 17.77 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001418/0.4101, allocations: 0.5697 MB / 393.9 MB, free: 17.39 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.4101, allocations: 1.156 kB / 393.9 MB, free: 17.39 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004147/0.4106, allocations: 139.6 kB / 394 MB, free: 17.35 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009062/0.4115, allocations: 119.7 kB / 394.1 MB, free: 17.31 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0022/0.4137, allocations: 1.072 MB / 395.2 MB, free: 16.68 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003484/0.4141, allocations: 0.8293 MB / 396 MB, free: 15.97 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002149/0.4143, allocations: 38.83 kB / 396.1 MB, free: 15.96 MB / 282.7 MB Notification: Performance of SimCode: time 1.103e-06/0.4143, allocations: 0 / 396.1 MB, free: 15.96 MB / 282.7 MB Notification: Performance of Templates: time 0.04629/0.4606, allocations: 7.593 MB / 403.7 MB, free: 13.73 MB / 282.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & ./Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/SimpleCooling/SimpleCooling.csv","../files/Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches