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.001082/0.001082, allocations: 111.5 kB / 17.06 MB, free: 5.973 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.001153/0.001153, allocations: 200 kB / 18.01 MB, free: 5.055 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.305/1.305, allocations: 222.9 MB / 241.7 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009079/0.0009079, allocations: 51.89 kB / 351.3 MB, free: 3.281 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2346/0.2356, allocations: 49.44 MB / 400.7 MB, free: 8.762 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.004433/0.24, allocations: 3.667 MB / 404.4 MB, free: 5.203 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00149/0.2415, allocations: 0.9734 MB / 405.4 MB, free: 4.223 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001767/0.2417, allocations: 7.938 kB / 405.4 MB, free: 4.215 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003034/0.242, allocations: 107.1 kB / 405.5 MB, free: 4.109 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000392/0.2425, allocations: 202.3 kB / 405.7 MB, free: 3.91 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002785/0.2427, allocations: 131.8 kB / 405.8 MB, free: 3.781 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006592/0.2434, allocations: 0.6839 MB / 406.5 MB, free: 3.098 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002819/0.2437, allocations: 194.2 kB / 406.7 MB, free: 2.898 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002557/0.244, allocations: 259.1 kB / 406.9 MB, free: 2.645 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003057/0.2443, allocations: 290.8 kB / 407.2 MB, free: 2.359 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.736e-05/0.2444, allocations: 59.98 kB / 407.3 MB, free: 2.301 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.112e-05/0.2445, allocations: 60 kB / 407.3 MB, free: 2.242 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001004/0.2446, allocations: 127.5 kB / 407.4 MB, free: 2.117 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002773/0.2449, allocations: 306.6 kB / 407.7 MB, free: 1.816 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006304/0.2455, allocations: 0.6978 MB / 408.4 MB, free: 1.121 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.2455, allocations: 0 / 408.4 MB, free: 1.121 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.2455, allocations: 0 / 408.4 MB, free: 1.121 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.275e-06/0.2455, allocations: 0 / 408.4 MB, free: 1.121 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.001472/0.247, allocations: 0.9012 MB / 409.3 MB, free: 168 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.189e-05/0.247, allocations: 8.031 kB / 409.4 MB, free: 160 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001135/0.2472, allocations: 64.19 kB / 409.4 MB, free: 96 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006986/0.2479, allocations: 438.5 kB / 409.8 MB, free: 15.62 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.391e-05/0.248, allocations: 58.86 kB / 409.9 MB, free: 15.56 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.521e-05/0.248, allocations: 28.38 kB / 409.9 MB, free: 15.54 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008528/0.2489, allocations: 489 kB / 410.4 MB, free: 15 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.2489, allocations: 8 kB / 410.4 MB, free: 14.99 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.317e-05/0.249, allocations: 16 kB / 410.4 MB, free: 14.98 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.797e-06/0.249, allocations: 8 kB / 410.4 MB, free: 14.97 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008256/0.2498, allocations: 330.4 kB / 410.8 MB, free: 14.65 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.001974/0.2518, allocations: 1.283 MB / 412 MB, free: 13.27 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007035/0.2525, allocations: 381.8 kB / 412.4 MB, free: 12.88 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004082/0.2529, allocations: 180.8 kB / 412.6 MB, free: 12.7 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.418e-05/0.253, allocations: 8.594 kB / 412.6 MB, free: 12.69 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.836e-05/0.253, allocations: 42.56 kB / 412.6 MB, free: 12.64 MB / 334.1 MB Notification: Performance of pre-optimization done (n=35): time 1.623e-06/0.253, allocations: 0 / 412.6 MB, free: 12.64 MB / 334.1 MB Notification: Performance of matching and sorting (n=35): time 0.001619/0.2547, allocations: 0.723 MB / 413.4 MB, free: 11.86 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002063/0.2549, allocations: 449 kB / 413.8 MB, free: 11.32 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005275/0.2554, allocations: 462 kB / 414.3 MB, free: 10.86 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.097e-05/0.2555, allocations: 33.7 kB / 414.3 MB, free: 10.82 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001762/0.2556, allocations: 240.4 kB / 414.5 MB, free: 10.58 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.285e-05/0.2557, allocations: 126.1 kB / 414.6 MB, free: 10.46 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001411/0.2559, allocations: 77.69 kB / 414.7 MB, free: 10.38 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.256, allocations: 358.7 kB / 415.1 MB, free: 10.02 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003898/0.2564, allocations: 135.9 kB / 415.2 MB, free: 9.883 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005044/0.257, allocations: 290.5 kB / 415.5 MB, free: 9.543 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000769/0.2577, allocations: 333.1 kB / 415.8 MB, free: 9.207 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.2577, allocations: 0 / 415.8 MB, free: 9.207 MB / 334.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001058/0.2588, allocations: 489.8 kB / 416.3 MB, free: 8.711 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.579e-05/0.2589, allocations: 37.69 kB / 416.3 MB, free: 8.668 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.2589, allocations: 0 / 416.3 MB, free: 8.668 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001618/0.259, allocations: 53.73 kB / 416.4 MB, free: 8.609 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004252/0.2595, allocations: 79.88 kB / 416.5 MB, free: 8.531 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002442/0.2619, allocations: 2.962 MB / 419.4 MB, free: 5.289 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000454/0.2624, allocations: 55.69 kB / 419.5 MB, free: 5.234 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.915e-05/0.2624, allocations: 11.94 kB / 419.5 MB, free: 5.223 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.0002111/0.2627, allocations: 173.7 kB / 419.7 MB, free: 5.043 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001108/0.2628, allocations: 51.44 kB / 419.7 MB, free: 4.992 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001/0.2629, allocations: 56.75 kB / 419.8 MB, free: 4.934 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.2629, allocations: 4 kB / 419.8 MB, free: 4.93 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.2629, allocations: 0 / 419.8 MB, free: 4.93 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009707/0.2639, allocations: 0.7231 MB / 420.5 MB, free: 4.102 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001594/0.2655, allocations: 1.017 MB / 421.5 MB, free: 3.02 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.2655, allocations: 0 / 421.5 MB, free: 3.02 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004481/0.266, allocations: 83.88 kB / 421.6 MB, free: 2.938 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.266, allocations: 11.94 kB / 421.6 MB, free: 2.926 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.283e-05/0.266, allocations: 15.92 kB / 421.6 MB, free: 2.91 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.266, allocations: 4 kB / 421.6 MB, free: 2.906 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.266, allocations: 0 / 421.6 MB, free: 2.906 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0013/0.2673, allocations: 0.649 MB / 422.3 MB, free: 2.242 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001917/0.2675, allocations: 168.4 kB / 422.4 MB, free: 2.059 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.423e-05/0.2676, allocations: 11.94 kB / 422.4 MB, free: 2.047 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003866/0.268, allocations: 27.97 kB / 422.5 MB, free: 2.02 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.444e-05/0.2681, allocations: 19.97 kB / 422.5 MB, free: 2 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.919e-05/0.2681, allocations: 12 kB / 422.5 MB, free: 1.988 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003527/0.2685, allocations: 335.1 kB / 422.8 MB, free: 1.668 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2685, allocations: 0 / 422.8 MB, free: 1.668 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004389/0.2689, allocations: 135.8 kB / 423 MB, free: 1.535 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.000131/0.2691, allocations: 111.7 kB / 423.1 MB, free: 1.418 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0012/0.2703, allocations: 0.637 MB / 423.7 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.2703, allocations: 4 kB / 423.7 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004302/0.2707, allocations: 171.8 kB / 423.9 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006739/0.2714, allocations: 145.9 kB / 424 MB, free: 436 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001518/0.2729, allocations: 0.9067 MB / 424.9 MB, free: 15.49 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003628/0.2733, allocations: 0.8389 MB / 425.8 MB, free: 14.62 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002435/0.2736, allocations: 64.33 kB / 425.8 MB, free: 14.56 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001235/0.2737, allocations: 39.44 kB / 425.9 MB, free: 14.52 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2737, allocations: 0 / 425.9 MB, free: 14.52 MB / 350.1 MB Notification: Performance of Templates: time 0.01538/0.2891, allocations: 8.933 MB / 434.8 MB, free: 5.746 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