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.001339/0.00134, allocations: 98.48 kB / 17.06 MB, free: 6.121 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.001559/0.001559, allocations: 194.9 kB / 17.99 MB, free: 5.199 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.336/1.336, allocations: 222.9 MB / 241.7 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001054/0.001054, allocations: 48.06 kB / 351.3 MB, free: 3.273 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2473/0.2484, allocations: 49.43 MB / 400.7 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.004238/0.2526, allocations: 3.67 MB / 404.4 MB, free: 5.184 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001378/0.254, allocations: 0.9696 MB / 405.4 MB, free: 4.207 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001699/0.2542, allocations: 11.94 kB / 405.4 MB, free: 4.195 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000285/0.2545, allocations: 103.1 kB / 405.5 MB, free: 4.094 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003551/0.2549, allocations: 214.3 kB / 405.7 MB, free: 3.883 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002364/0.2551, allocations: 119.8 kB / 405.8 MB, free: 3.766 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006398/0.2558, allocations: 0.6924 MB / 406.5 MB, free: 3.074 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003224/0.2561, allocations: 194.2 kB / 406.7 MB, free: 2.875 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002322/0.2563, allocations: 247.1 kB / 406.9 MB, free: 2.633 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002921/0.2566, allocations: 302.7 kB / 407.2 MB, free: 2.336 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.366e-05/0.2567, allocations: 56 kB / 407.3 MB, free: 2.281 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.048e-05/0.2568, allocations: 60 kB / 407.3 MB, free: 2.223 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.855e-05/0.2569, allocations: 119.6 kB / 407.4 MB, free: 2.105 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002544/0.2572, allocations: 318.5 kB / 407.7 MB, free: 1.793 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005826/0.2578, allocations: 0.6978 MB / 408.4 MB, free: 1.098 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.2578, allocations: 0 / 408.4 MB, free: 1.098 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2578, allocations: 4 kB / 408.5 MB, free: 1.094 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.637e-06/0.2578, allocations: 0 / 408.5 MB, free: 1.094 MB / 318.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.001391/0.2592, allocations: 0.8972 MB / 409.3 MB, free: 144 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.2592, allocations: 8.031 kB / 409.4 MB, free: 136 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001144/0.2594, allocations: 68.19 kB / 409.4 MB, free: 68 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006501/0.26, allocations: 434.5 kB / 409.8 MB, free: 15.6 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.572e-05/0.2601, allocations: 58.91 kB / 409.9 MB, free: 15.54 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.753e-05/0.2602, allocations: 36.38 kB / 409.9 MB, free: 15.5 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007422/0.2609, allocations: 485 kB / 410.4 MB, free: 14.97 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.559e-05/0.261, allocations: 0 / 410.4 MB, free: 14.97 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.696e-05/0.261, allocations: 12 kB / 410.4 MB, free: 14.96 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.766e-06/0.261, allocations: 8 kB / 410.4 MB, free: 14.95 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007454/0.2618, allocations: 334.4 kB / 410.8 MB, free: 14.63 MB / 334.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.001797/0.2636, allocations: 1.29 MB / 412 MB, free: 13.24 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000615/0.2642, allocations: 374.2 kB / 412.4 MB, free: 12.85 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003658/0.2646, allocations: 188.7 kB / 412.6 MB, free: 12.66 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.28e-05/0.2646, allocations: 8.531 kB / 412.6 MB, free: 12.66 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.434e-05/0.2647, allocations: 38.56 kB / 412.6 MB, free: 12.61 MB / 334.1 MB Notification: Performance of pre-optimization done (n=35): time 1.433e-06/0.2647, allocations: 0 / 412.6 MB, free: 12.61 MB / 334.1 MB Notification: Performance of matching and sorting (n=35): time 0.001445/0.2661, allocations: 0.7231 MB / 413.4 MB, free: 11.84 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001826/0.2663, allocations: 441 kB / 413.8 MB, free: 11.3 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004671/0.2668, allocations: 458 kB / 414.2 MB, free: 10.85 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.356e-05/0.2668, allocations: 37.64 kB / 414.3 MB, free: 10.8 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001612/0.267, allocations: 248.3 kB / 414.5 MB, free: 10.55 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.914e-05/0.2671, allocations: 122.2 kB / 414.6 MB, free: 10.43 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001206/0.2672, allocations: 77.69 kB / 414.7 MB, free: 10.35 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.2674, allocations: 362.7 kB / 415.1 MB, free: 9.988 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003351/0.2677, allocations: 139.9 kB / 415.2 MB, free: 9.852 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004407/0.2682, allocations: 274.6 kB / 415.5 MB, free: 9.527 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006731/0.2688, allocations: 349 kB / 415.8 MB, free: 9.176 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.2688, allocations: 0 / 415.8 MB, free: 9.176 MB / 334.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009065/0.2698, allocations: 489.8 kB / 416.3 MB, free: 8.68 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.547e-05/0.2698, allocations: 29.7 kB / 416.3 MB, free: 8.645 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.2698, allocations: 4 kB / 416.3 MB, free: 8.641 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001489/0.27, allocations: 49.7 kB / 416.4 MB, free: 8.586 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003843/0.2704, allocations: 87.91 kB / 416.5 MB, free: 8.5 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002146/0.2725, allocations: 2.958 MB / 419.4 MB, free: 5.262 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003618/0.2729, allocations: 47.72 kB / 419.5 MB, free: 5.215 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.948e-05/0.2729, allocations: 15.94 kB / 419.5 MB, free: 5.199 MB / 334.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.0001866/0.2731, allocations: 173.7 kB / 419.7 MB, free: 5.02 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.093e-05/0.2732, allocations: 51.44 kB / 419.7 MB, free: 4.969 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.841e-05/0.2733, allocations: 52.75 kB / 419.8 MB, free: 4.914 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.2733, allocations: 4 kB / 419.8 MB, free: 4.91 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.933e-06/0.2733, allocations: 4 kB / 419.8 MB, free: 4.906 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008465/0.2742, allocations: 0.7308 MB / 420.5 MB, free: 4.07 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001441/0.2756, allocations: 1.005 MB / 421.5 MB, free: 3 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.2756, allocations: 0 / 421.5 MB, free: 3 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004142/0.2761, allocations: 95.86 kB / 421.6 MB, free: 2.906 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.2761, allocations: 0 / 421.6 MB, free: 2.906 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.682e-05/0.2761, allocations: 11.94 kB / 421.6 MB, free: 2.895 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.2761, allocations: 8 kB / 421.6 MB, free: 2.887 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.2761, allocations: 0 / 421.6 MB, free: 2.887 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001133/0.2773, allocations: 0.6529 MB / 422.3 MB, free: 2.219 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000171/0.2774, allocations: 160.5 kB / 422.4 MB, free: 2.043 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.803e-05/0.2775, allocations: 11.94 kB / 422.4 MB, free: 2.031 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003408/0.2779, allocations: 31.97 kB / 422.5 MB, free: 2 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.325e-05/0.2779, allocations: 27.91 kB / 422.5 MB, free: 1.973 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.978e-05/0.278, allocations: 7.984 kB / 422.5 MB, free: 1.965 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003186/0.2783, allocations: 323.1 kB / 422.8 MB, free: 1.656 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.372e-06/0.2783, allocations: 0 / 422.8 MB, free: 1.656 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004059/0.2787, allocations: 147.8 kB / 423 MB, free: 1.512 MB / 334.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.0001144/0.2788, allocations: 108 kB / 423.1 MB, free: 1.398 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001086/0.2799, allocations: 0.6447 MB / 423.7 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.2799, allocations: 0 / 423.7 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003622/0.2803, allocations: 175.8 kB / 423.9 MB, free: 0.543 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006208/0.2809, allocations: 134 kB / 424 MB, free: 420 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001464/0.2824, allocations: 0.9184 MB / 424.9 MB, free: 15.46 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003408/0.2828, allocations: 0.8272 MB / 425.8 MB, free: 14.61 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002375/0.283, allocations: 68.34 kB / 425.8 MB, free: 14.54 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001106/0.2831, allocations: 39.44 kB / 425.9 MB, free: 14.5 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.2831, allocations: 0 / 425.9 MB, free: 14.5 MB / 350.1 MB Notification: Performance of Templates: time 0.01453/0.2977, allocations: 8.934 MB / 434.8 MB, free: 5.723 MB / 350.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/OneMass/OneMass.csv","/var/lib/jenkins/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