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.001517/0.001517, allocations: 117.7 kB / 17.7 MB, free: 5.301 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.001825/0.001825, allocations: 187 kB / 18.63 MB, free: 4.375 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.338/1.338, allocations: 222.9 MB / 242.3 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001012/0.001012, allocations: 41.39 kB / 302.1 MB, free: 5.172 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09031/0.09134, allocations: 49.44 MB / 351.5 MB, free: 3.703 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.004814/0.09619, allocations: 3.656 MB / 355.2 MB, free: 24 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001828/0.09805, allocations: 0.9812 MB / 356.1 MB, free: 15.04 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003971/0.09847, allocations: 7.938 kB / 356.1 MB, free: 15.03 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003869/0.09887, allocations: 111 kB / 356.2 MB, free: 14.92 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005281/0.09944, allocations: 190.4 kB / 356.4 MB, free: 14.73 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003267/0.09977, allocations: 135.8 kB / 356.6 MB, free: 14.6 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000794/0.1006, allocations: 0.6826 MB / 357.2 MB, free: 13.91 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002993/0.1009, allocations: 198.1 kB / 357.4 MB, free: 13.71 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003282/0.1012, allocations: 255.1 kB / 357.7 MB, free: 13.46 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003692/0.1016, allocations: 298.8 kB / 358 MB, free: 13.17 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.277e-05/0.1017, allocations: 60 kB / 358 MB, free: 13.11 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001043/0.1018, allocations: 56 kB / 358.1 MB, free: 13.06 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001046/0.1019, allocations: 127.5 kB / 358.2 MB, free: 12.93 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002832/0.1022, allocations: 314.5 kB / 358.5 MB, free: 12.62 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006062/0.1028, allocations: 0.6891 MB / 359.2 MB, free: 11.93 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1028, allocations: 0 / 359.2 MB, free: 11.93 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1029, allocations: 0 / 359.2 MB, free: 11.93 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.487e-05/0.1029, allocations: 0 / 359.2 MB, free: 11.93 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.001624/0.1045, allocations: 0.8893 MB / 360.1 MB, free: 10.98 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.1045, allocations: 12.03 kB / 360.1 MB, free: 10.97 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001376/0.1047, allocations: 60.28 kB / 360.2 MB, free: 10.91 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007396/0.1054, allocations: 438.5 kB / 360.6 MB, free: 10.45 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.728e-05/0.1055, allocations: 58.91 kB / 360.7 MB, free: 10.39 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.791e-05/0.1056, allocations: 36.28 kB / 360.7 MB, free: 10.35 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007742/0.1064, allocations: 489 kB / 361.2 MB, free: 9.82 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.1064, allocations: 4 kB / 361.2 MB, free: 9.816 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.006e-05/0.1065, allocations: 20 kB / 361.2 MB, free: 9.797 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.836e-06/0.1065, allocations: 8 kB / 361.2 MB, free: 9.789 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007745/0.1073, allocations: 338.3 kB / 361.5 MB, free: 9.457 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.001927/0.1092, allocations: 1.29 MB / 362.8 MB, free: 8.078 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006758/0.1099, allocations: 375.5 kB / 363.2 MB, free: 7.684 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003809/0.1103, allocations: 184.8 kB / 363.4 MB, free: 7.5 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.31e-05/0.1103, allocations: 7.984 kB / 363.4 MB, free: 7.492 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.871e-05/0.1104, allocations: 38.56 kB / 363.4 MB, free: 7.445 MB / 302.1 MB Notification: Performance of pre-optimization done (n=35): time 1.513e-06/0.1104, allocations: 0 / 363.4 MB, free: 7.445 MB / 302.1 MB Notification: Performance of matching and sorting (n=35): time 0.001537/0.1119, allocations: 0.7198 MB / 364.1 MB, free: 6.676 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001808/0.1121, allocations: 445 kB / 364.6 MB, free: 6.137 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005058/0.1126, allocations: 461.9 kB / 365 MB, free: 5.672 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.773e-05/0.1127, allocations: 33.7 kB / 365.1 MB, free: 5.633 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001634/0.1128, allocations: 244.4 kB / 365.3 MB, free: 5.391 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.161e-05/0.1129, allocations: 122.2 kB / 365.4 MB, free: 5.27 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001334/0.1131, allocations: 69.7 kB / 365.5 MB, free: 5.195 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001222/0.1132, allocations: 362.7 kB / 365.8 MB, free: 4.832 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003557/0.1136, allocations: 143.9 kB / 366 MB, free: 4.691 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00045/0.114, allocations: 286.3 kB / 366.3 MB, free: 4.355 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006872/0.1147, allocations: 337.2 kB / 366.6 MB, free: 4.016 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.1147, allocations: 4 kB / 366.6 MB, free: 4.012 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.000956/0.1157, allocations: 485.7 kB / 367.1 MB, free: 3.52 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.469e-05/0.1157, allocations: 36.2 kB / 367.1 MB, free: 3.48 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.1157, allocations: 0 / 367.1 MB, free: 3.48 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001685/0.1159, allocations: 53.72 kB / 367.2 MB, free: 3.422 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000408/0.1163, allocations: 83.89 kB / 367.2 MB, free: 3.34 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00235/0.1187, allocations: 2.966 MB / 370.2 MB, free: 92 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004125/0.1191, allocations: 51.7 kB / 370.3 MB, free: 40 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.239e-05/0.1192, allocations: 15.94 kB / 370.3 MB, free: 24 kB / 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.1381/0.2573, allocations: 168.1 kB / 370.4 MB, free: 25.31 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001411/0.2575, allocations: 53.19 kB / 370.5 MB, free: 25.31 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001035/0.2576, allocations: 53.56 kB / 370.5 MB, free: 25.3 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.2576, allocations: 5.219 kB / 370.5 MB, free: 25.3 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.2576, allocations: 0.5625 kB / 370.5 MB, free: 25.3 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008692/0.2585, allocations: 0.7258 MB / 371.3 MB, free: 24.77 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001535/0.26, allocations: 1.01 MB / 372.3 MB, free: 24.43 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.26, allocations: 0 / 372.3 MB, free: 24.43 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004514/0.2605, allocations: 89.89 kB / 372.4 MB, free: 24.43 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.2605, allocations: 5.219 kB / 372.4 MB, free: 24.43 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.482e-05/0.2605, allocations: 8.578 kB / 372.4 MB, free: 24.43 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/0.2605, allocations: 5.25 kB / 372.4 MB, free: 24.43 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2605, allocations: 3.844 kB / 372.4 MB, free: 24.43 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001137/0.2617, allocations: 0.6429 MB / 373 MB, free: 24.29 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001689/0.2619, allocations: 175.9 kB / 373.2 MB, free: 24.2 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.7e-05/0.2619, allocations: 12.17 kB / 373.2 MB, free: 24.2 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003574/0.2623, allocations: 30.47 kB / 373.2 MB, free: 24.2 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.921e-05/0.2624, allocations: 22.64 kB / 373.3 MB, free: 24.2 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.139e-05/0.2624, allocations: 7.344 kB / 373.3 MB, free: 24.2 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003321/0.2627, allocations: 327.5 kB / 373.6 MB, free: 24.11 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2628, allocations: 0 / 373.6 MB, free: 24.11 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004691/0.2632, allocations: 135.9 kB / 373.7 MB, free: 24.11 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.0001125/0.2634, allocations: 113.9 kB / 373.8 MB, free: 24.01 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001081/0.2644, allocations: 0.6358 MB / 374.5 MB, free: 23.62 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.2645, allocations: 0 / 374.5 MB, free: 23.62 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003698/0.2648, allocations: 176.9 kB / 374.6 MB, free: 23.57 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006398/0.2655, allocations: 146 kB / 374.8 MB, free: 23.54 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001419/0.2669, allocations: 0.9321 MB / 375.7 MB, free: 23.06 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002511/0.2672, allocations: 0.8248 MB / 376.5 MB, free: 22.36 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000223/0.2674, allocations: 63.2 kB / 376.6 MB, free: 22.34 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001106/0.2675, allocations: 45.58 kB / 376.7 MB, free: 22.33 MB / 302.1 MB Notification: Performance of SimCode: time 2.7e-07/0.2675, allocations: 1.344 kB / 376.7 MB, free: 22.33 MB / 302.1 MB Notification: Performance of Templates: time 0.0152/0.2827, allocations: 8.863 MB / 385.5 MB, free: 19.83 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 -s gbode -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