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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 188.9 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.324/1.324, allocations: 222.9 MB / 240.9 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009793/0.0009788, allocations: 107 kB / 291.2 MB, free: 10.94 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008213/0.0008214, allocations: 39.94 kB / 350 MB, free: 76 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2052/0.206, allocations: 49.44 MB / 399.5 MB, free: 33.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.00348/0.2095, allocations: 3.687 MB / 403.2 MB, free: 29.68 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00121/0.2108, allocations: 0.968 MB / 404.1 MB, free: 28.71 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00018/0.211, allocations: 8 kB / 404.1 MB, free: 28.7 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002611/0.2112, allocations: 95.36 kB / 404.2 MB, free: 28.61 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003055/0.2116, allocations: 166.7 kB / 404.4 MB, free: 28.44 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001978/0.2118, allocations: 111.9 kB / 404.5 MB, free: 28.33 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000422/0.2122, allocations: 0.6722 MB / 405.2 MB, free: 27.66 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001947/0.2124, allocations: 170.6 kB / 405.3 MB, free: 27.49 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001703/0.2126, allocations: 239 kB / 405.6 MB, free: 27.26 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002319/0.2128, allocations: 290.8 kB / 405.9 MB, free: 26.97 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.312e-05/0.2129, allocations: 40 kB / 405.9 MB, free: 26.93 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.919e-05/0.213, allocations: 40 kB / 405.9 MB, free: 26.89 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.628e-05/0.213, allocations: 107.5 kB / 406 MB, free: 26.79 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001857/0.2132, allocations: 286.6 kB / 406.3 MB, free: 26.51 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003844/0.2136, allocations: 0.6671 MB / 407 MB, free: 25.84 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.2136, allocations: 4 kB / 407 MB, free: 25.84 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.2136, allocations: 0 / 407 MB, free: 25.84 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.673e-06/0.2137, allocations: 0 / 407 MB, free: 25.84 MB / 298.7 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.001226/0.2149, allocations: 0.8933 MB / 407.9 MB, free: 24.88 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.127e-05/0.2149, allocations: 8.031 kB / 407.9 MB, free: 24.88 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.585e-05/0.215, allocations: 72.22 kB / 408 MB, free: 24.8 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005172/0.2156, allocations: 426.5 kB / 408.4 MB, free: 24.35 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001836/0.2158, allocations: 82.88 kB / 408.5 MB, free: 24.26 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.709e-05/0.2158, allocations: 28.38 kB / 408.5 MB, free: 24.23 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007029/0.2165, allocations: 0.4971 MB / 409 MB, free: 23.68 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.2165, allocations: 0 / 409 MB, free: 23.68 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.511e-05/0.2166, allocations: 20 kB / 409 MB, free: 23.66 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.303e-06/0.2166, allocations: 8 kB / 409 MB, free: 23.66 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000835/0.2174, allocations: 362.3 kB / 409.4 MB, free: 23.3 MB / 298.7 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.001538/0.219, allocations: 1.302 MB / 410.7 MB, free: 21.91 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006239/0.2196, allocations: 387.4 kB / 411 MB, free: 21.5 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003906/0.22, allocations: 188.8 kB / 411.2 MB, free: 21.32 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.078e-05/0.2201, allocations: 15.98 kB / 411.2 MB, free: 21.3 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.764e-05/0.2201, allocations: 38.56 kB / 411.3 MB, free: 21.25 MB / 298.7 MB Notification: Performance of pre-optimization done (n=35): time 1.804e-06/0.2201, allocations: 0 / 411.3 MB, free: 21.25 MB / 298.7 MB Notification: Performance of matching and sorting (n=35): time 0.001502/0.2216, allocations: 0.7599 MB / 412 MB, free: 20.45 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.184e-05/0.2217, allocations: 449 kB / 412.5 MB, free: 19.9 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003846/0.2221, allocations: 450 kB / 412.9 MB, free: 19.45 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.932e-05/0.2221, allocations: 33.7 kB / 413 MB, free: 19.41 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000113/0.2223, allocations: 244.4 kB / 413.2 MB, free: 19.17 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.471e-05/0.2223, allocations: 118.2 kB / 413.3 MB, free: 19.05 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001116/0.2224, allocations: 81.69 kB / 413.4 MB, free: 18.96 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.33e-05/0.2225, allocations: 362.7 kB / 413.7 MB, free: 18.6 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003809/0.2229, allocations: 151.9 kB / 413.9 MB, free: 18.45 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004461/0.2234, allocations: 294.8 kB / 414.2 MB, free: 18.11 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007346/0.2241, allocations: 361.2 kB / 414.5 MB, free: 17.75 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.2241, allocations: 0 / 414.5 MB, free: 17.75 MB / 298.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001004/0.2251, allocations: 0.5014 MB / 415 MB, free: 17.23 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.775e-05/0.2252, allocations: 33.64 kB / 415.1 MB, free: 17.19 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.2252, allocations: 32 / 415.1 MB, free: 17.19 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001684/0.2254, allocations: 61.62 kB / 415.1 MB, free: 17.12 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004065/0.2258, allocations: 79.94 kB / 415.2 MB, free: 17.05 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001563/0.2273, allocations: 2.756 MB / 418 MB, free: 14.02 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004617/0.2278, allocations: 55.66 kB / 418 MB, free: 13.97 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.183e-05/0.2279, allocations: 11.98 kB / 418 MB, free: 13.96 MB / 298.7 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.0002042/0.2281, allocations: 177.7 kB / 418.2 MB, free: 13.77 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.6e-05/0.2282, allocations: 55.38 kB / 418.3 MB, free: 13.72 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001069/0.2283, allocations: 56.7 kB / 418.3 MB, free: 13.66 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.2283, allocations: 4 kB / 418.3 MB, free: 13.66 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.2283, allocations: 3.984 kB / 418.3 MB, free: 13.66 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009073/0.2292, allocations: 0.7517 MB / 419.1 MB, free: 12.8 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001486/0.2307, allocations: 1.036 MB / 420.1 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.2307, allocations: 0 / 420.1 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004241/0.2312, allocations: 95.86 kB / 420.2 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-06/0.2312, allocations: 0 / 420.2 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.337e-05/0.2312, allocations: 8 kB / 420.2 MB, free: 11.6 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.2312, allocations: 0 / 420.2 MB, free: 11.6 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.2312, allocations: 0 / 420.2 MB, free: 11.6 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005353/0.2366, allocations: 3.258 MB / 423.5 MB, free: 8.203 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002204/0.2368, allocations: 168.3 kB / 423.6 MB, free: 8.02 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.625e-05/0.2369, allocations: 8 kB / 423.6 MB, free: 8.012 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004096/0.2373, allocations: 43.89 kB / 423.7 MB, free: 7.969 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.205e-05/0.2374, allocations: 24.03 kB / 423.7 MB, free: 7.945 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.907e-05/0.2374, allocations: 8 kB / 423.7 MB, free: 7.938 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002793/0.2377, allocations: 327.1 kB / 424 MB, free: 7.617 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.2377, allocations: 0 / 424 MB, free: 7.617 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005987/0.2383, allocations: 187.8 kB / 424.2 MB, free: 7.434 MB / 298.7 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.0001202/0.2385, allocations: 111.2 kB / 424.3 MB, free: 7.312 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00115/0.2396, allocations: 0.6604 MB / 425 MB, free: 6.613 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.2396, allocations: 0 / 425 MB, free: 6.613 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004111/0.2401, allocations: 191.8 kB / 425.2 MB, free: 6.426 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007595/0.2408, allocations: 129.8 kB / 425.3 MB, free: 6.301 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001604/0.2425, allocations: 1.322 MB / 426.6 MB, free: 4.941 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002177/0.2427, allocations: 0.8396 MB / 427.5 MB, free: 4.07 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002989/0.243, allocations: 68.34 kB / 427.5 MB, free: 4 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001349/0.2431, allocations: 43.42 kB / 427.6 MB, free: 3.961 MB / 298.7 MB Notification: Performance of SimCode: time 6.02e-07/0.2431, allocations: 4 kB / 427.6 MB, free: 3.957 MB / 298.7 MB Notification: Performance of Templates: time 0.0147/0.2579, allocations: 9.249 MB / 436.8 MB, free: 10.86 MB / 314.7 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@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/OneMass/OneMass.csv","../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches