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.001262/0.001262, allocations: 114.5 kB / 17.93 MB, free: 5.566 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.001232/0.001232, allocations: 189.9 kB / 18.86 MB, free: 4.645 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.384/1.384, allocations: 205.1 MB / 224.7 MB, free: 12.31 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.001118/0.001118, allocations: 51.92 kB / 280.8 MB, free: 3.477 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09465/0.09578, allocations: 46.64 MB / 327.4 MB, free: 4.773 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.004756/0.1006, allocations: 3.677 MB / 331.1 MB, free: 1.07 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00188/0.1025, allocations: 1.013 MB / 332.1 MB, free: 48 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002425/0.1028, allocations: 11.94 kB / 332.1 MB, free: 36 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003788/0.1032, allocations: 87.53 kB / 332.2 MB, free: 15.95 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004395/0.1036, allocations: 174.6 kB / 332.4 MB, free: 15.77 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002795/0.1039, allocations: 111.9 kB / 332.5 MB, free: 15.66 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006941/0.1046, allocations: 0.673 MB / 333.2 MB, free: 14.99 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002935/0.1049, allocations: 194.5 kB / 333.4 MB, free: 14.8 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000266/0.1052, allocations: 263 kB / 333.6 MB, free: 14.54 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003071/0.1055, allocations: 294.7 kB / 333.9 MB, free: 14.25 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.444e-05/0.1056, allocations: 59.94 kB / 334 MB, free: 14.2 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.852e-05/0.1057, allocations: 60 kB / 334 MB, free: 14.14 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001435/0.1059, allocations: 127.6 kB / 334.2 MB, free: 14.01 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002673/0.1061, allocations: 310.5 kB / 334.5 MB, free: 13.71 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005808/0.1067, allocations: 0.5183 MB / 335 MB, free: 13.19 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1067, allocations: 0 / 335 MB, free: 13.19 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1068, allocations: 4 kB / 335 MB, free: 13.18 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.227e-06/0.1068, allocations: 0 / 335 MB, free: 13.18 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.001482/0.1083, allocations: 0.8893 MB / 335.9 MB, free: 12.23 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.1083, allocations: 12.03 kB / 335.9 MB, free: 12.22 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001204/0.1084, allocations: 64.27 kB / 335.9 MB, free: 12.16 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006052/0.109, allocations: 430.5 kB / 336.4 MB, free: 11.7 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002009/0.1093, allocations: 86.88 kB / 336.5 MB, free: 11.61 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.187e-05/0.1093, allocations: 28.38 kB / 336.5 MB, free: 11.59 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008555/0.1102, allocations: 0.4892 MB / 337 MB, free: 11.04 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.563e-05/0.1102, allocations: 4 kB / 337 MB, free: 11.04 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.227e-05/0.1103, allocations: 16 kB / 337 MB, free: 11.02 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.22e-05/0.1103, allocations: 12 kB / 337 MB, free: 11.01 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008354/0.1111, allocations: 362.4 kB / 337.4 MB, free: 10.66 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.001937/0.1131, allocations: 1.294 MB / 338.6 MB, free: 9.27 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007242/0.1138, allocations: 399.4 kB / 339 MB, free: 8.852 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004175/0.1142, allocations: 196.8 kB / 339.2 MB, free: 8.656 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.05e-05/0.1143, allocations: 7.984 kB / 339.2 MB, free: 8.648 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.116e-05/0.1143, allocations: 38.56 kB / 339.3 MB, free: 8.602 MB / 286.1 MB Notification: Performance of pre-optimization done (n=35): time 2.144e-06/0.1143, allocations: 0 / 339.3 MB, free: 8.602 MB / 286.1 MB Notification: Performance of matching and sorting (n=35): time 0.001701/0.116, allocations: 0.7588 MB / 340 MB, free: 7.793 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002164/0.1163, allocations: 444.9 kB / 340.5 MB, free: 7.254 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000528/0.1168, allocations: 458 kB / 340.9 MB, free: 6.793 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.031e-05/0.1168, allocations: 37.7 kB / 341 MB, free: 6.75 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001837/0.117, allocations: 236.4 kB / 341.2 MB, free: 6.516 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001148/0.1172, allocations: 126.2 kB / 341.3 MB, free: 6.391 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000128/0.1173, allocations: 77.69 kB / 341.4 MB, free: 6.309 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.1174, allocations: 362.7 kB / 341.7 MB, free: 5.945 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004/0.1179, allocations: 147.9 kB / 341.9 MB, free: 5.801 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005086/0.1184, allocations: 298.6 kB / 342.2 MB, free: 5.457 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000791/0.1192, allocations: 361.1 kB / 342.5 MB, free: 5.094 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.1192, allocations: 0 / 342.5 MB, free: 5.094 MB / 286.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.00105/0.1202, allocations: 0.5015 MB / 343 MB, free: 4.574 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.936e-05/0.1203, allocations: 37.69 kB / 343.1 MB, free: 4.531 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.1203, allocations: 0 / 343.1 MB, free: 4.531 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001624/0.1205, allocations: 49.7 kB / 343.1 MB, free: 4.477 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004083/0.1209, allocations: 91.86 kB / 343.2 MB, free: 4.387 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002551/0.1235, allocations: 2.966 MB / 346.2 MB, free: 1.141 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004998/0.124, allocations: 67.69 kB / 346.2 MB, free: 1.074 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.996e-05/0.124, allocations: 11.94 kB / 346.2 MB, free: 1.062 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.0002515/0.1243, allocations: 170.1 kB / 346.4 MB, free: 0.8867 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.433e-05/0.1244, allocations: 51.34 kB / 346.5 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000107/0.1245, allocations: 60.75 kB / 346.5 MB, free: 0.7773 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.1245, allocations: 4 kB / 346.5 MB, free: 0.7734 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.1245, allocations: 3.938 kB / 346.5 MB, free: 0.7695 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001064/0.1256, allocations: 0.762 MB / 347.3 MB, free: 15.9 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00166/0.1272, allocations: 1.032 MB / 348.3 MB, free: 14.81 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.1273, allocations: 3.984 kB / 348.3 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004527/0.1277, allocations: 95.88 kB / 348.4 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.1277, allocations: 0 / 348.4 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.903e-05/0.1278, allocations: 19.92 kB / 348.4 MB, free: 14.69 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.1278, allocations: 0 / 348.4 MB, free: 14.69 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1278, allocations: 0 / 348.4 MB, free: 14.69 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001317/0.1291, allocations: 0.69 MB / 349.1 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002046/0.1293, allocations: 168.4 kB / 349.3 MB, free: 13.8 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.906e-05/0.1294, allocations: 15.94 kB / 349.3 MB, free: 13.79 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003951/0.1298, allocations: 35.86 kB / 349.3 MB, free: 13.75 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.376e-05/0.1299, allocations: 23.97 kB / 349.4 MB, free: 13.73 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.169e-05/0.1299, allocations: 12 kB / 349.4 MB, free: 13.71 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003504/0.1303, allocations: 331.2 kB / 349.7 MB, free: 13.39 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1303, allocations: 0 / 349.7 MB, free: 13.39 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004713/0.1307, allocations: 135.8 kB / 349.8 MB, free: 13.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.0001321/0.1309, allocations: 107.1 kB / 349.9 MB, free: 13.15 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00136/0.1323, allocations: 0.68 MB / 350.6 MB, free: 12.43 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.1323, allocations: 0 / 350.6 MB, free: 12.43 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004068/0.1327, allocations: 191.8 kB / 350.8 MB, free: 12.24 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007416/0.1334, allocations: 133.8 kB / 350.9 MB, free: 12.11 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001693/0.1351, allocations: 1.115 MB / 352.1 MB, free: 10.96 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003667/0.1355, allocations: 0.8351 MB / 352.9 MB, free: 10.1 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001433/0.1357, allocations: 47.36 kB / 352.9 MB, free: 10.05 MB / 302.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1357, allocations: 4 kB / 352.9 MB, free: 10.05 MB / 302.1 MB Notification: Performance of Templates: time 0.01136/0.147, allocations: 8.885 MB / 361.8 MB, free: 1.16 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/OneMass/OneMass.csv","../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches