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.001449/0.001449, allocations: 108.8 kB / 16.92 MB, free: 5.75 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.001631/0.001631, allocations: 191.3 kB / 17.85 MB, free: 5.176 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.334/1.334, allocations: 222.9 MB / 241.5 MB, free: 15.28 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001113/0.001113, allocations: 50.91 kB / 300.6 MB, free: 5.879 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09346/0.09459, allocations: 49.43 MB / 350 MB, free: 4.434 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.004919/0.09953, allocations: 3.662 MB / 353.7 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001834/0.1014, allocations: 0.9734 MB / 354.7 MB, free: 15.76 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003799/0.1018, allocations: 11.94 kB / 354.7 MB, free: 15.75 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004329/0.1022, allocations: 103.1 kB / 354.8 MB, free: 15.65 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006129/0.1029, allocations: 202.3 kB / 355 MB, free: 15.45 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003899/0.1033, allocations: 123.8 kB / 355.1 MB, free: 15.33 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009206/0.1042, allocations: 0.6808 MB / 355.8 MB, free: 14.64 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003229/0.1046, allocations: 198.1 kB / 356 MB, free: 14.45 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003523/0.1049, allocations: 255.1 kB / 356.2 MB, free: 14.2 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004392/0.1054, allocations: 290.7 kB / 356.5 MB, free: 13.91 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001209/0.1055, allocations: 56 kB / 356.6 MB, free: 13.86 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000144/0.1057, allocations: 60 kB / 356.6 MB, free: 13.8 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001092/0.1058, allocations: 127.6 kB / 356.8 MB, free: 13.67 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003535/0.1061, allocations: 314.5 kB / 357.1 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006347/0.1068, allocations: 0.6776 MB / 357.7 MB, free: 12.68 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.1068, allocations: 0 / 357.7 MB, free: 12.68 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1068, allocations: 4 kB / 357.7 MB, free: 12.68 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.01e-05/0.1069, allocations: 3.938 kB / 357.7 MB, free: 12.68 MB / 302.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.001927/0.1088, allocations: 0.9011 MB / 358.6 MB, free: 11.71 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.1088, allocations: 8.031 kB / 358.7 MB, free: 11.71 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001621/0.109, allocations: 60.28 kB / 358.7 MB, free: 11.65 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006743/0.1097, allocations: 434.4 kB / 359.1 MB, free: 11.19 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002074/0.1099, allocations: 86.88 kB / 359.2 MB, free: 11.1 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.622e-05/0.11, allocations: 28.38 kB / 359.3 MB, free: 11.07 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009462/0.1109, allocations: 0.4925 MB / 359.7 MB, free: 10.53 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.961e-05/0.111, allocations: 7.984 kB / 359.8 MB, free: 10.52 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.966e-05/0.111, allocations: 16 kB / 359.8 MB, free: 10.5 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.458e-06/0.111, allocations: 8 kB / 359.8 MB, free: 10.5 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009196/0.1119, allocations: 362.4 kB / 360.1 MB, free: 10.14 MB / 302.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.001922/0.1139, allocations: 1.298 MB / 361.4 MB, free: 8.754 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007223/0.1146, allocations: 391.5 kB / 361.8 MB, free: 8.344 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004344/0.1151, allocations: 196.7 kB / 362 MB, free: 8.148 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.387e-05/0.1151, allocations: 4 kB / 362 MB, free: 8.145 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.509e-05/0.1151, allocations: 38.56 kB / 362 MB, free: 8.098 MB / 302.1 MB Notification: Performance of pre-optimization done (n=35): time 1.653e-06/0.1152, allocations: 0 / 362 MB, free: 8.098 MB / 302.1 MB Notification: Performance of matching and sorting (n=35): time 0.001699/0.1169, allocations: 0.7627 MB / 362.8 MB, free: 7.285 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001811/0.1171, allocations: 448.9 kB / 363.2 MB, free: 6.742 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004823/0.1175, allocations: 458 kB / 363.7 MB, free: 6.281 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.677e-05/0.1176, allocations: 37.7 kB / 363.7 MB, free: 6.238 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001747/0.1178, allocations: 240.4 kB / 364 MB, free: 6 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000103/0.1179, allocations: 122.2 kB / 364.1 MB, free: 5.879 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001449/0.118, allocations: 73.69 kB / 364.2 MB, free: 5.801 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001734/0.1182, allocations: 362.7 kB / 364.5 MB, free: 5.438 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004163/0.1186, allocations: 147.9 kB / 364.7 MB, free: 5.293 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005366/0.1192, allocations: 309.5 kB / 365 MB, free: 4.941 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008357/0.12, allocations: 361.2 kB / 365.3 MB, free: 4.578 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.12, allocations: 8 kB / 365.3 MB, free: 4.57 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001058/0.1211, allocations: 0.5013 MB / 365.8 MB, free: 4.051 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.714e-05/0.1212, allocations: 33.69 kB / 365.9 MB, free: 4.012 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.1212, allocations: 0 / 365.9 MB, free: 4.012 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001551/0.1213, allocations: 49.7 kB / 365.9 MB, free: 3.957 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004194/0.1218, allocations: 91.86 kB / 366 MB, free: 3.867 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002516/0.1243, allocations: 2.958 MB / 368.9 MB, free: 0.625 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004703/0.1248, allocations: 63.69 kB / 369 MB, free: 0.5625 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.657e-05/0.1248, allocations: 15.94 kB / 369 MB, free: 0.5469 MB / 302.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.0002337/0.1251, allocations: 165.8 kB / 369.2 MB, free: 384 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001035/0.1252, allocations: 55.28 kB / 369.2 MB, free: 328 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001052/0.1253, allocations: 56.75 kB / 369.3 MB, free: 272 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.636e-06/0.1253, allocations: 4 kB / 369.3 MB, free: 268 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.1253, allocations: 3.938 kB / 369.3 MB, free: 264 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1491/0.2744, allocations: 0.7501 MB / 370.1 MB, free: 25.38 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001816/0.2762, allocations: 1.035 MB / 371.1 MB, free: 25.04 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.2762, allocations: 2.188 kB / 371.1 MB, free: 25.04 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004684/0.2767, allocations: 94.78 kB / 371.2 MB, free: 25.04 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.267e-05/0.2767, allocations: 5.75 kB / 371.2 MB, free: 25.04 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.001e-05/0.2768, allocations: 6.719 kB / 371.2 MB, free: 25.04 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.871e-06/0.2768, allocations: 2 kB / 371.2 MB, free: 25.04 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.2768, allocations: 3.812 kB / 371.2 MB, free: 25.04 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001606/0.2784, allocations: 0.6823 MB / 371.9 MB, free: 24.9 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002275/0.2787, allocations: 174.2 kB / 372.1 MB, free: 24.81 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.4e-05/0.2787, allocations: 9.391 kB / 372.1 MB, free: 24.81 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003994/0.2791, allocations: 40.98 kB / 372.1 MB, free: 24.81 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.493e-05/0.2792, allocations: 22.94 kB / 372.1 MB, free: 24.81 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.297e-05/0.2793, allocations: 7.656 kB / 372.1 MB, free: 24.81 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000437/0.2797, allocations: 330 kB / 372.5 MB, free: 24.69 MB / 302.1 MB Notification: Performance of sort global known variables: time 4.81e-07/0.2797, allocations: 0 / 372.5 MB, free: 24.69 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005706/0.2803, allocations: 137 kB / 372.6 MB, free: 24.68 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.0001535/0.2805, allocations: 108.5 kB / 372.7 MB, free: 24.58 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001402/0.2819, allocations: 0.6799 MB / 373.4 MB, free: 24.19 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.2819, allocations: 1.188 kB / 373.4 MB, free: 24.19 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004634/0.2824, allocations: 186.5 kB / 373.6 MB, free: 24.14 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007365/0.2831, allocations: 151.3 kB / 373.7 MB, free: 24.1 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001582/0.2847, allocations: 0.9317 MB / 374.6 MB, free: 23.6 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002945/0.285, allocations: 0.8277 MB / 375.5 MB, free: 22.89 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003148/0.2853, allocations: 61.36 kB / 375.5 MB, free: 22.88 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000116/0.2854, allocations: 45.8 kB / 375.6 MB, free: 22.87 MB / 302.1 MB Notification: Performance of SimCode: time 5.31e-07/0.2855, allocations: 3.828 kB / 375.6 MB, free: 22.87 MB / 302.1 MB Notification: Performance of Templates: time 0.01425/0.2997, allocations: 8.905 MB / 384.5 MB, free: 20.3 MB / 302.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