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.0009873/0.0009871, allocations: 93.25 kB / 17.3 MB, free: 6.395 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.001074/0.001074, allocations: 172.9 kB / 18.2 MB, free: 5.551 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.499/1.499, allocations: 205.4 MB / 224.4 MB, free: 13.07 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.0008758/0.0008759, allocations: 12.22 kB / 281.4 MB, free: 3.438 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1253, allocations: 47.58 MB / 329 MB, free: 3.785 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.004333/0.1297, allocations: 3.311 MB / 332.3 MB, free: 464 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002345/0.1321, allocations: 0.9512 MB / 333.2 MB, free: 15.49 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005624/0.1327, allocations: 4 kB / 333.2 MB, free: 15.49 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004925/0.1332, allocations: 91.38 kB / 333.3 MB, free: 15.4 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007933/0.134, allocations: 162.7 kB / 333.5 MB, free: 15.24 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004937/0.1345, allocations: 119.9 kB / 333.6 MB, free: 15.12 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009821/0.1355, allocations: 0.6457 MB / 334.2 MB, free: 14.47 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003339/0.1359, allocations: 182.9 kB / 334.4 MB, free: 14.29 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004833/0.1364, allocations: 234.9 kB / 334.6 MB, free: 14.06 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004897/0.1369, allocations: 266.8 kB / 334.9 MB, free: 13.8 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001134/0.137, allocations: 36 kB / 334.9 MB, free: 13.77 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001558/0.1372, allocations: 36 kB / 335 MB, free: 13.73 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001153/0.1373, allocations: 107.5 kB / 335.1 MB, free: 13.62 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004814/0.1378, allocations: 308.3 kB / 335.4 MB, free: 13.32 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000871/0.1386, allocations: 0.6422 MB / 336 MB, free: 12.67 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.917e-06/0.1387, allocations: 0 / 336 MB, free: 12.67 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.126e-06/0.1387, allocations: 3.938 kB / 336 MB, free: 12.67 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.086e-05/0.1387, allocations: 0 / 336 MB, free: 12.67 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.001856/0.1406, allocations: 0.8117 MB / 336.8 MB, free: 11.8 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.1406, allocations: 12.03 kB / 336.8 MB, free: 11.79 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001849/0.1408, allocations: 64.19 kB / 336.9 MB, free: 11.72 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007597/0.1416, allocations: 446.4 kB / 337.3 MB, free: 11.25 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002306/0.1418, allocations: 86.86 kB / 337.4 MB, free: 11.16 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.344e-05/0.1419, allocations: 32.38 kB / 337.5 MB, free: 11.12 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009621/0.1429, allocations: 0.5049 MB / 338 MB, free: 10.57 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/0.1429, allocations: 0 / 338 MB, free: 10.57 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.157e-05/0.143, allocations: 16 kB / 338 MB, free: 10.55 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.143, allocations: 8 kB / 338 MB, free: 10.54 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009156/0.1439, allocations: 390.3 kB / 338.4 MB, free: 10.16 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.002079/0.146, allocations: 1.294 MB / 339.7 MB, free: 8.773 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007863/0.1468, allocations: 403.4 kB / 340.1 MB, free: 8.352 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004499/0.1473, allocations: 208.8 kB / 340.3 MB, free: 8.145 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.81e-05/0.1473, allocations: 4 kB / 340.3 MB, free: 8.141 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.874e-05/0.1473, allocations: 42.56 kB / 340.3 MB, free: 8.09 MB / 286.1 MB Notification: Performance of pre-optimization done (n=35): time 2.685e-06/0.1474, allocations: 0 / 340.3 MB, free: 8.09 MB / 286.1 MB Notification: Performance of matching and sorting (n=35): time 0.00176/0.1491, allocations: 0.7939 MB / 341.1 MB, free: 7.246 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002478/0.1494, allocations: 449 kB / 341.5 MB, free: 6.703 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005152/0.1499, allocations: 457.9 kB / 342 MB, free: 6.246 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.022e-05/0.15, allocations: 33.7 kB / 342 MB, free: 6.207 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001913/0.1502, allocations: 248.4 kB / 342.3 MB, free: 5.961 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000104/0.1503, allocations: 118.3 kB / 342.4 MB, free: 5.844 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.502e-05/0.1503, allocations: 29.7 kB / 342.4 MB, free: 5.809 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001685/0.1505, allocations: 362.7 kB / 342.8 MB, free: 5.445 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004389/0.1509, allocations: 163.8 kB / 342.9 MB, free: 5.285 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006394/0.1516, allocations: 314.4 kB / 343.2 MB, free: 4.922 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008896/0.1525, allocations: 385.2 kB / 343.6 MB, free: 4.535 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.1525, allocations: 0 / 343.6 MB, free: 4.535 MB / 286.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001072/0.1536, allocations: 0.5213 MB / 344.1 MB, free: 3.996 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.684e-05/0.1536, allocations: 33.7 kB / 344.2 MB, free: 3.957 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.1536, allocations: 0 / 344.2 MB, free: 3.957 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001767/0.1538, allocations: 49.64 kB / 344.2 MB, free: 3.902 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004396/0.1543, allocations: 95.92 kB / 344.3 MB, free: 3.809 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002732/0.157, allocations: 2.748 MB / 347 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005458/0.1576, allocations: 67.69 kB / 347.1 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.973e-05/0.1576, allocations: 8 kB / 347.1 MB, free: 0.7148 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.0002959/0.1579, allocations: 174.1 kB / 347.3 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001115/0.1581, allocations: 59.28 kB / 347.3 MB, free: 488 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001103/0.1582, allocations: 56.75 kB / 347.4 MB, free: 432 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.1582, allocations: 4 kB / 347.4 MB, free: 428 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.1582, allocations: 0 / 347.4 MB, free: 428 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001179/0.1594, allocations: 0.7827 MB / 348.2 MB, free: 15.53 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001764/0.1612, allocations: 1.056 MB / 349.2 MB, free: 14.41 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.1612, allocations: 0 / 349.2 MB, free: 14.41 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004444/0.1616, allocations: 103.9 kB / 349.3 MB, free: 14.31 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.1616, allocations: 0 / 349.3 MB, free: 14.31 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.56e-05/0.1617, allocations: 8 kB / 349.4 MB, free: 14.3 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.1617, allocations: 0 / 349.4 MB, free: 14.3 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1617, allocations: 4 kB / 349.4 MB, free: 14.3 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001434/0.1631, allocations: 0.7246 MB / 350.1 MB, free: 13.56 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001904/0.1633, allocations: 172.5 kB / 350.3 MB, free: 13.37 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.071e-05/0.1634, allocations: 8 kB / 350.3 MB, free: 13.36 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003945/0.1638, allocations: 44.03 kB / 350.3 MB, free: 13.32 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.721e-05/0.1639, allocations: 31.94 kB / 350.3 MB, free: 13.29 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.934e-05/0.1639, allocations: 8 kB / 350.3 MB, free: 13.28 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003735/0.1643, allocations: 327.1 kB / 350.7 MB, free: 12.96 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1643, allocations: 0 / 350.7 MB, free: 12.96 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000446/0.1647, allocations: 135.8 kB / 350.8 MB, free: 12.83 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.0001445/0.1649, allocations: 119 kB / 350.9 MB, free: 12.7 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001349/0.1663, allocations: 0.6805 MB / 351.6 MB, free: 11.98 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.269e-06/0.1663, allocations: 4 kB / 351.6 MB, free: 11.98 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004327/0.1667, allocations: 199.8 kB / 351.8 MB, free: 11.79 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007304/0.1675, allocations: 129.9 kB / 351.9 MB, free: 11.66 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00179/0.1693, allocations: 1.163 MB / 353.1 MB, free: 10.48 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004291/0.1697, allocations: 0.8275 MB / 353.9 MB, free: 9.621 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000292/0.17, allocations: 60.36 kB / 354 MB, free: 9.559 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001464/0.1702, allocations: 47.42 kB / 354 MB, free: 9.512 MB / 302.1 MB Notification: Performance of SimCode: time 2.524e-06/0.1702, allocations: 4 kB / 354 MB, free: 9.508 MB / 302.1 MB Notification: Performance of Templates: time 0.0151/0.1853, allocations: 8.174 MB / 362.2 MB, free: 1.332 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