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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001504/0.001504, allocations: 178.4 kB / 8.697 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.604/1.604, allocations: 205.3 MB / 214.4 MB, free: 1.664 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008903/0.0008904, allocations: 94.36 kB / 262.4 MB, free: 1.613 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.399e-05/1.398e-05, allocations: 4 kB / 315.5 MB, free: 22.71 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08308/0.08311, allocations: 47.59 MB / 363.1 MB, free: 7.062 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3024/0.3856, allocations: 81.13 MB / 444.2 MB, free: 14.53 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001858/0.3858, allocations: 70.66 kB / 444.3 MB, free: 14.49 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02501/0.4108, allocations: 9.962 MB / 454.2 MB, free: 6.324 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.4109, allocations: 0 / 454.2 MB, free: 6.324 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.638e-05/0.4109, allocations: 8 kB / 454.2 MB, free: 6.316 MB / 330.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.00123/0.4122, allocations: 0.7364 MB / 455 MB, free: 5.559 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.4122, allocations: 8.031 kB / 455 MB, free: 5.551 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001512/0.4124, allocations: 59.34 kB / 455 MB, free: 5.492 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005776/0.413, allocations: 391 kB / 455.4 MB, free: 5.117 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.064e-05/0.4131, allocations: 50.75 kB / 455.5 MB, free: 5.062 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.431e-05/0.4131, allocations: 27.27 kB / 455.5 MB, free: 5.039 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004235/0.4136, allocations: 251.2 kB / 455.8 MB, free: 4.887 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005216/0.4141, allocations: 401.5 kB / 456.1 MB, free: 4.527 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.4141, allocations: 0 / 456.1 MB, free: 4.527 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.04e-05/0.4141, allocations: 0 / 456.1 MB, free: 4.527 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/0.4142, allocations: 12 kB / 456.2 MB, free: 4.516 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001922/0.4161, allocations: 1.211 MB / 457.4 MB, free: 3.512 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004538/0.4166, allocations: 355.5 kB / 457.7 MB, free: 3.238 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002108/0.4168, allocations: 133.4 kB / 457.8 MB, free: 3.156 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.647e-05/0.4168, allocations: 19.11 kB / 457.9 MB, free: 3.141 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.868e-05/0.4169, allocations: 42.5 kB / 457.9 MB, free: 3.094 MB / 330.7 MB Notification: Performance of pre-optimization done (n=36): time 1.403e-06/0.4169, allocations: 0 / 457.9 MB, free: 3.094 MB / 330.7 MB Notification: Performance of matching and sorting (n=36): time 0.0006623/0.4176, allocations: 353.5 kB / 458.2 MB, free: 2.82 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001752/0.4177, allocations: 448.3 kB / 458.7 MB, free: 2.281 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003993/0.4181, allocations: 353 kB / 459 MB, free: 2.008 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.527e-05/0.4182, allocations: 29.7 kB / 459.1 MB, free: 1.973 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001539/0.4184, allocations: 242.6 kB / 459.3 MB, free: 1.809 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001034/0.4185, allocations: 127.1 kB / 459.4 MB, free: 1.699 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.818e-05/0.4185, allocations: 0 / 459.4 MB, free: 1.699 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001494/0.4186, allocations: 355.1 kB / 459.8 MB, free: 1.359 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001564/0.4188, allocations: 104.7 kB / 459.9 MB, free: 1.301 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002487/0.4191, allocations: 237 kB / 460.1 MB, free: 1.078 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001958/0.4193, allocations: 121 kB / 460.2 MB, free: 1.004 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.4193, allocations: 4 kB / 460.2 MB, free: 1 MB / 330.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006102/0.4199, allocations: 382.7 kB / 460.6 MB, free: 0.707 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.783e-05/0.4199, allocations: 29.7 kB / 460.6 MB, free: 0.6719 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.42, allocations: 0 / 460.6 MB, free: 0.6719 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002224/0.4202, allocations: 52.5 kB / 460.7 MB, free: 0.625 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004162/0.4206, allocations: 95.34 kB / 460.8 MB, free: 0.5352 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002034/0.4227, allocations: 2.633 MB / 463.4 MB, free: 13.83 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000376/0.423, allocations: 55.8 kB / 463.5 MB, free: 13.78 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.438e-05/0.4231, allocations: 12.34 kB / 463.5 MB, free: 13.77 MB / 346.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient2.flowPort.h:VARIABLE(flow=false unit = "J/kg" ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pipe.flowPort_a.h:VARIABLE(flow=false unit = "J/kg" ) type: Real ambient1.flowPort.h:VARIABLE(flow=false unit = "J/kg" ) type: Real 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001859/0.4233, allocations: 112.9 kB / 463.6 MB, free: 13.65 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001004/0.4234, allocations: 55.39 kB / 463.6 MB, free: 13.6 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001119/0.4235, allocations: 50.31 kB / 463.7 MB, free: 13.57 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.4235, allocations: 4 kB / 463.7 MB, free: 13.56 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.4235, allocations: 0 / 463.7 MB, free: 13.56 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005588/0.4241, allocations: 0.6532 MB / 464.3 MB, free: 12.88 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00125/0.4254, allocations: 0.8974 MB / 465.2 MB, free: 12.13 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.4254, allocations: 0 / 465.2 MB, free: 12.13 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004459/0.4258, allocations: 99.69 kB / 465.3 MB, free: 12.04 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/0.4259, allocations: 0 / 465.3 MB, free: 12.04 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.634e-05/0.4259, allocations: 3.984 kB / 465.3 MB, free: 12.04 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/0.4259, allocations: 4 kB / 465.3 MB, free: 12.03 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.4259, allocations: 0 / 465.3 MB, free: 12.03 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000692/0.4266, allocations: 0.5347 MB / 465.9 MB, free: 11.63 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002284/0.4268, allocations: 164.8 kB / 466 MB, free: 11.47 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.495e-05/0.4269, allocations: 0 / 466 MB, free: 11.47 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003029/0.4272, allocations: 23.98 kB / 466.1 MB, free: 11.45 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.294e-05/0.4273, allocations: 27.89 kB / 466.1 MB, free: 11.43 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.975e-05/0.4273, allocations: 7.125 kB / 466.1 MB, free: 11.42 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002947/0.4276, allocations: 287.5 kB / 466.4 MB, free: 11.21 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4276, allocations: 0 / 466.4 MB, free: 11.21 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004447/0.4281, allocations: 135.7 kB / 466.5 MB, free: 11.08 MB / 346.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001611/0.4283, allocations: 111.2 kB / 466.6 MB, free: 10.96 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0008303/0.4291, allocations: 0.5436 MB / 467.2 MB, free: 10.48 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.67e-06/0.4291, allocations: 4 kB / 467.2 MB, free: 10.48 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001972/0.4293, allocations: 134 kB / 467.3 MB, free: 10.39 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005714/0.4299, allocations: 123.1 kB / 467.4 MB, free: 10.3 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001319/0.4312, allocations: 0.6258 MB / 468 MB, free: 9.711 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004623/0.4317, allocations: 0.8469 MB / 468.9 MB, free: 8.836 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002637/0.432, allocations: 52.16 kB / 468.9 MB, free: 8.781 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001073/0.4321, allocations: 43.42 kB / 469 MB, free: 8.742 MB / 346.7 MB Notification: Performance of SimCode: time 4.11e-07/0.4321, allocations: 0 / 469 MB, free: 8.742 MB / 346.7 MB Notification: Performance of Templates: time 0.013/0.4451, allocations: 6.876 MB / 475.9 MB, free: 1.871 MB / 346.7 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