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.001516/0.001517, allocations: 110.5 kB / 17.16 MB, free: 6.082 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.001716/0.001716, allocations: 194.9 kB / 18.08 MB, free: 5.285 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.415/1.415, allocations: 222.9 MB / 241.8 MB, free: 15.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001091/0.001091, allocations: 39.69 kB / 300.6 MB, free: 6.316 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08995/0.09106, allocations: 49.44 MB / 350 MB, free: 4.867 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.00479/0.09589, allocations: 3.704 MB / 353.7 MB, free: 1.137 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001686/0.0976, allocations: 0.9736 MB / 354.7 MB, free: 160 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003425/0.09797, allocations: 8 kB / 354.7 MB, free: 152 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003666/0.09835, allocations: 83.38 kB / 354.8 MB, free: 68 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005006/0.09889, allocations: 174.7 kB / 355 MB, free: 15.89 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002971/0.0992, allocations: 115.8 kB / 355.1 MB, free: 15.78 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007299/0.09994, allocations: 0.6558 MB / 355.7 MB, free: 15.12 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002534/0.1002, allocations: 174.5 kB / 355.9 MB, free: 14.95 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003119/0.1005, allocations: 239 kB / 356.2 MB, free: 14.72 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003488/0.1009, allocations: 278.8 kB / 356.4 MB, free: 14.45 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.725e-05/0.101, allocations: 40 kB / 356.5 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001028/0.1011, allocations: 40 kB / 356.5 MB, free: 14.37 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001001/0.1012, allocations: 111.5 kB / 356.6 MB, free: 14.26 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002751/0.1015, allocations: 290.6 kB / 356.9 MB, free: 13.97 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004066/0.1019, allocations: 0.5185 MB / 357.4 MB, free: 13.45 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.227e-06/0.1019, allocations: 0 / 357.4 MB, free: 13.45 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.444e-06/0.1019, allocations: 0 / 357.4 MB, free: 13.45 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.474e-05/0.1019, allocations: 7.938 kB / 357.4 MB, free: 13.45 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.001554/0.1035, allocations: 0.8972 MB / 358.3 MB, free: 12.49 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.1035, allocations: 16.03 kB / 358.3 MB, free: 12.47 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001226/0.1037, allocations: 64.22 kB / 358.4 MB, free: 12.41 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006195/0.1043, allocations: 426.5 kB / 358.8 MB, free: 11.95 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002171/0.1045, allocations: 78.88 kB / 358.9 MB, free: 11.87 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.564e-05/0.1046, allocations: 44.28 kB / 358.9 MB, free: 11.83 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000863/0.1055, allocations: 0.4892 MB / 359.4 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.1055, allocations: 0 / 359.4 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.575e-05/0.1055, allocations: 12 kB / 359.4 MB, free: 11.27 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.317e-06/0.1056, allocations: 12 kB / 359.4 MB, free: 11.26 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000881/0.1064, allocations: 366.4 kB / 359.8 MB, free: 10.9 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.001959/0.1084, allocations: 1.287 MB / 361.1 MB, free: 9.527 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007193/0.1091, allocations: 390.4 kB / 361.5 MB, free: 9.121 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004294/0.1096, allocations: 200.7 kB / 361.7 MB, free: 8.922 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.851e-05/0.1096, allocations: 7.984 kB / 361.7 MB, free: 8.914 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.235e-05/0.1097, allocations: 46.5 kB / 361.7 MB, free: 8.859 MB / 302.1 MB Notification: Performance of pre-optimization done (n=35): time 2.124e-06/0.1097, allocations: 0 / 361.7 MB, free: 8.859 MB / 302.1 MB Notification: Performance of matching and sorting (n=35): time 0.001643/0.1113, allocations: 0.751 MB / 362.5 MB, free: 8.059 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001698/0.1115, allocations: 452.9 kB / 362.9 MB, free: 7.512 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004805/0.112, allocations: 454 kB / 363.4 MB, free: 7.055 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.976e-05/0.112, allocations: 37.7 kB / 363.4 MB, free: 7.012 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001651/0.1122, allocations: 244.4 kB / 363.6 MB, free: 6.77 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.815e-05/0.1123, allocations: 122.2 kB / 363.8 MB, free: 6.648 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001344/0.1125, allocations: 77.62 kB / 363.8 MB, free: 6.566 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.1126, allocations: 362.7 kB / 364.2 MB, free: 6.203 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004155/0.113, allocations: 147.9 kB / 364.3 MB, free: 6.059 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005143/0.1136, allocations: 298.7 kB / 364.6 MB, free: 5.715 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007963/0.1144, allocations: 365.1 kB / 365 MB, free: 5.348 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.1144, allocations: 0 / 365 MB, free: 5.348 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001061/0.1154, allocations: 0.5014 MB / 365.5 MB, free: 4.828 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.151e-05/0.1155, allocations: 37.69 kB / 365.5 MB, free: 4.785 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.1155, allocations: 3.938 kB / 365.5 MB, free: 4.781 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001595/0.1157, allocations: 45.7 kB / 365.6 MB, free: 4.73 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004255/0.1161, allocations: 95.86 kB / 365.7 MB, free: 4.637 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002283/0.1184, allocations: 2.736 MB / 368.4 MB, free: 1.633 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004817/0.119, allocations: 63.69 kB / 368.5 MB, free: 1.57 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.688e-05/0.119, allocations: 16 kB / 368.5 MB, free: 1.555 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.0002177/0.1192, allocations: 165.8 kB / 368.6 MB, free: 1.383 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001023/0.1193, allocations: 55.38 kB / 368.7 MB, free: 1.328 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.554e-05/0.1194, allocations: 52.75 kB / 368.7 MB, free: 1.277 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.1195, allocations: 4 kB / 368.7 MB, free: 1.273 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.1195, allocations: 0 / 368.7 MB, free: 1.273 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009952/0.1205, allocations: 0.7556 MB / 369.5 MB, free: 424 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.159/0.2795, allocations: 1.028 MB / 370.5 MB, free: 25.57 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.2795, allocations: 4.672 kB / 370.5 MB, free: 25.57 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000486/0.28, allocations: 96.22 kB / 370.6 MB, free: 25.57 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-06/0.2801, allocations: 1.844 kB / 370.6 MB, free: 25.57 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.636e-05/0.2801, allocations: 9.031 kB / 370.6 MB, free: 25.57 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.581e-06/0.2801, allocations: 5.234 kB / 370.6 MB, free: 25.57 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.2801, allocations: 0 / 370.6 MB, free: 25.57 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001419/0.2815, allocations: 0.6917 MB / 371.3 MB, free: 25.44 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002079/0.2817, allocations: 170.8 kB / 371.5 MB, free: 25.34 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.041e-05/0.2818, allocations: 9.562 kB / 371.5 MB, free: 25.34 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004049/0.2822, allocations: 35.64 kB / 371.5 MB, free: 25.34 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.765e-05/0.2823, allocations: 29.33 kB / 371.6 MB, free: 25.34 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.405e-05/0.2824, allocations: 10.36 kB / 371.6 MB, free: 25.34 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003804/0.2828, allocations: 321 kB / 371.9 MB, free: 25.26 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2828, allocations: 0 / 371.9 MB, free: 25.26 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004854/0.2832, allocations: 143.8 kB / 372 MB, free: 25.26 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.0001149/0.2834, allocations: 108.4 kB / 372.1 MB, free: 25.17 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00128/0.2847, allocations: 0.6608 MB / 372.8 MB, free: 24.88 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.2847, allocations: 1.375 kB / 372.8 MB, free: 24.88 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004407/0.2851, allocations: 192 kB / 373 MB, free: 24.88 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007075/0.2858, allocations: 131.1 kB / 373.1 MB, free: 24.86 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001622/0.2875, allocations: 1.119 MB / 374.2 MB, free: 24.18 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002958/0.2878, allocations: 0.8249 MB / 375.1 MB, free: 23.47 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001655/0.288, allocations: 43.42 kB / 375.1 MB, free: 23.46 MB / 302.1 MB Notification: Performance of SimCode: time 8.31e-07/0.288, allocations: 4 kB / 375.1 MB, free: 23.46 MB / 302.1 MB Notification: Performance of Templates: time 0.01318/0.3011, allocations: 8.871 MB / 384 MB, free: 20.7 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/OneMass/OneMass.csv","/var/lib/jenkins1/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