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.001593/0.001593, allocations: 102.9 kB / 17.16 MB, free: 6.316 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.001758/0.001758, allocations: 190 kB / 18.07 MB, free: 5.414 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.365/1.365, allocations: 205.1 MB / 223.9 MB, free: 12.46 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.001216/0.001216, allocations: 43.94 kB / 280 MB, free: 3.582 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1099, allocations: 46.62 MB / 326.6 MB, free: 4.891 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.005243/0.1151, allocations: 3.692 MB / 330.3 MB, free: 1.172 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002146/0.1173, allocations: 1.013 MB / 331.3 MB, free: 152 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002487/0.1176, allocations: 8 kB / 331.3 MB, free: 144 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004295/0.1181, allocations: 87.36 kB / 331.4 MB, free: 56 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005197/0.1186, allocations: 174.8 kB / 331.6 MB, free: 15.88 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003347/0.119, allocations: 111.9 kB / 331.7 MB, free: 15.77 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000751/0.1197, allocations: 0.6495 MB / 332.3 MB, free: 15.12 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003322/0.1201, allocations: 178.9 kB / 332.5 MB, free: 14.95 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003357/0.1204, allocations: 243 kB / 332.7 MB, free: 14.71 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003711/0.1208, allocations: 274.8 kB / 333 MB, free: 14.44 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.919e-05/0.1209, allocations: 40 kB / 333 MB, free: 14.4 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001134/0.121, allocations: 40 kB / 333.1 MB, free: 14.36 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001518/0.1212, allocations: 111.5 kB / 333.2 MB, free: 14.25 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003745/0.1216, allocations: 290.6 kB / 333.5 MB, free: 13.96 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008082/0.1224, allocations: 0.6579 MB / 334.1 MB, free: 13.3 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.665e-06/0.1224, allocations: 0 / 334.1 MB, free: 13.3 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1224, allocations: 0 / 334.1 MB, free: 13.3 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.55e-05/0.1224, allocations: 4 kB / 334.1 MB, free: 13.3 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.002006/0.1245, allocations: 0.8932 MB / 335 MB, free: 12.35 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.663e-05/0.1245, allocations: 12.03 kB / 335 MB, free: 12.34 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001522/0.1247, allocations: 64.28 kB / 335.1 MB, free: 12.27 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000773/0.1255, allocations: 430.5 kB / 335.5 MB, free: 11.81 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002073/0.1257, allocations: 78.89 kB / 335.6 MB, free: 11.73 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.084e-05/0.1258, allocations: 40.38 kB / 335.6 MB, free: 11.69 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009295/0.1267, allocations: 0.4931 MB / 336.1 MB, free: 11.14 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.909e-05/0.1267, allocations: 0 / 336.1 MB, free: 11.14 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.699e-05/0.1268, allocations: 12 kB / 336.1 MB, free: 11.13 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.326e-05/0.1268, allocations: 12 kB / 336.2 MB, free: 11.12 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009141/0.1277, allocations: 366.3 kB / 336.5 MB, free: 10.76 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.002298/0.13, allocations: 1.294 MB / 337.8 MB, free: 9.375 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000724/0.1308, allocations: 399.3 kB / 338.2 MB, free: 8.957 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004332/0.1312, allocations: 196.8 kB / 338.4 MB, free: 8.762 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.616e-05/0.1313, allocations: 7.984 kB / 338.4 MB, free: 8.754 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.172e-05/0.1313, allocations: 42.5 kB / 338.4 MB, free: 8.703 MB / 286.1 MB Notification: Performance of pre-optimization done (n=35): time 1.803e-06/0.1313, allocations: 3.938 kB / 338.4 MB, free: 8.699 MB / 286.1 MB Notification: Performance of matching and sorting (n=35): time 0.001786/0.1331, allocations: 0.751 MB / 339.2 MB, free: 7.898 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002801/0.1334, allocations: 452.9 kB / 339.6 MB, free: 7.352 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005287/0.1339, allocations: 450 kB / 340.1 MB, free: 6.902 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.912e-05/0.134, allocations: 37.7 kB / 340.1 MB, free: 6.859 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001902/0.1342, allocations: 244.4 kB / 340.3 MB, free: 6.617 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001142/0.1343, allocations: 126.2 kB / 340.5 MB, free: 6.492 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001351/0.1345, allocations: 69.69 kB / 340.5 MB, free: 6.418 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001813/0.1346, allocations: 362.7 kB / 340.9 MB, free: 6.055 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004005/0.1351, allocations: 151.9 kB / 341 MB, free: 5.906 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004998/0.1356, allocations: 294.5 kB / 341.3 MB, free: 5.566 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007771/0.1363, allocations: 369.2 kB / 341.7 MB, free: 5.195 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.1364, allocations: 0 / 341.7 MB, free: 5.195 MB / 286.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001067/0.1374, allocations: 0.5015 MB / 342.2 MB, free: 4.676 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.21e-05/0.1375, allocations: 32.83 kB / 342.2 MB, free: 4.641 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.1375, allocations: 4 kB / 342.2 MB, free: 4.637 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001804/0.1377, allocations: 53.62 kB / 342.3 MB, free: 4.578 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004309/0.1381, allocations: 87.88 kB / 342.4 MB, free: 4.492 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002258/0.1404, allocations: 2.752 MB / 345.1 MB, free: 1.469 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004771/0.1409, allocations: 59.69 kB / 345.2 MB, free: 1.41 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.554e-05/0.1409, allocations: 16 kB / 345.2 MB, free: 1.395 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.0002476/0.1412, allocations: 170.1 kB / 345.4 MB, free: 1.219 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.051e-05/0.1413, allocations: 55.38 kB / 345.4 MB, free: 1.164 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001032/0.1414, allocations: 52.75 kB / 345.5 MB, free: 1.113 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.1414, allocations: 4 kB / 345.5 MB, free: 1.109 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-06/0.1414, allocations: 0 / 345.5 MB, free: 1.109 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00102/0.1425, allocations: 0.7593 MB / 346.2 MB, free: 252 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001717/0.1442, allocations: 1.036 MB / 347.3 MB, free: 15.15 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.1442, allocations: 3.938 kB / 347.3 MB, free: 15.14 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004448/0.1447, allocations: 83.94 kB / 347.3 MB, free: 15.06 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.89e-06/0.1447, allocations: 4 kB / 347.4 MB, free: 15.06 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.621e-05/0.1447, allocations: 7.984 kB / 347.4 MB, free: 15.05 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.97e-06/0.1447, allocations: 8 kB / 347.4 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1447, allocations: 3.938 kB / 347.4 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001368/0.1461, allocations: 0.6895 MB / 348.1 MB, free: 14.33 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002007/0.1463, allocations: 172.5 kB / 348.2 MB, free: 14.14 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.815e-05/0.1464, allocations: 8 kB / 348.2 MB, free: 14.14 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003844/0.1468, allocations: 39.95 kB / 348.3 MB, free: 14.1 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.807e-05/0.1469, allocations: 19.97 kB / 348.3 MB, free: 14.08 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.05e-05/0.1469, allocations: 8 kB / 348.3 MB, free: 14.07 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003622/0.1473, allocations: 327.1 kB / 348.6 MB, free: 13.75 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1473, allocations: 7.938 kB / 348.6 MB, free: 13.75 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005058/0.1478, allocations: 135.8 kB / 348.8 MB, free: 13.61 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.0001373/0.1479, allocations: 111.1 kB / 348.9 MB, free: 13.49 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001281/0.1492, allocations: 0.6648 MB / 349.5 MB, free: 12.79 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.1492, allocations: 0 / 349.5 MB, free: 12.79 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004163/0.1497, allocations: 191.8 kB / 349.7 MB, free: 12.6 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000736/0.1504, allocations: 129.9 kB / 349.9 MB, free: 12.48 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001606/0.152, allocations: 1.098 MB / 350.9 MB, free: 11.36 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003679/0.1524, allocations: 0.8236 MB / 351.8 MB, free: 10.51 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002809/0.1527, allocations: 72.28 kB / 351.8 MB, free: 10.43 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001221/0.1528, allocations: 39.44 kB / 351.9 MB, free: 10.39 MB / 302.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1528, allocations: 0 / 351.9 MB, free: 10.39 MB / 302.1 MB Notification: Performance of Templates: time 0.01456/0.1674, allocations: 8.23 MB / 360.1 MB, free: 2.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/jenkins/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