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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001354/0.001354, allocations: 116.9 kB / 18.41 MB, free: 4.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001344/0.001344, allocations: 194.9 kB / 21.35 MB, free: 1.711 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 222.9 MB / 247 MB, free: 4.195 MB / 190.1 MB " [Timeout remaining time 178] 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=1000,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=1000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001588/0.001588, allocations: 55.91 kB / 358.7 MB, free: 8.293 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.104, allocations: 49.43 MB / 408.1 MB, free: 6.816 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.005006/0.109, allocations: 3.669 MB / 411.8 MB, free: 3.137 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001817/0.1108, allocations: 0.9774 MB / 412.7 MB, free: 2.152 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002203/0.1111, allocations: 8 kB / 412.7 MB, free: 2.145 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003355/0.1114, allocations: 107 kB / 412.9 MB, free: 2.039 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004032/0.1119, allocations: 194.3 kB / 413 MB, free: 1.848 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002872/0.1122, allocations: 139.7 kB / 413.2 MB, free: 1.711 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008027/0.113, allocations: 0.6769 MB / 413.9 MB, free: 1.031 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003128/0.1133, allocations: 194.3 kB / 414 MB, free: 0.832 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003054/0.1136, allocations: 259 kB / 414.3 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003683/0.114, allocations: 294.7 kB / 414.6 MB, free: 296 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.092e-05/0.1141, allocations: 56 kB / 414.6 MB, free: 240 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001065/0.1142, allocations: 60 kB / 414.7 MB, free: 180 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001294/0.1143, allocations: 123.6 kB / 414.8 MB, free: 56 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000329/0.1147, allocations: 310.5 kB / 415.1 MB, free: 15.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007998/0.1155, allocations: 0.6925 MB / 415.8 MB, free: 15.05 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1155, allocations: 4 kB / 415.8 MB, free: 15.05 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1155, allocations: 4 kB / 415.8 MB, free: 15.05 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.909e-06/0.1155, allocations: 0 / 415.8 MB, free: 15.05 MB / 350.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.001638/0.1172, allocations: 0.9124 MB / 416.7 MB, free: 14.08 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.1172, allocations: 8.031 kB / 416.7 MB, free: 14.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001317/0.1173, allocations: 68.56 kB / 416.8 MB, free: 14 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007598/0.1181, allocations: 442.8 kB / 417.2 MB, free: 13.53 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.833e-05/0.1182, allocations: 58.91 kB / 417.3 MB, free: 13.47 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.893e-05/0.1183, allocations: 36.38 kB / 417.3 MB, free: 13.43 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008725/0.1192, allocations: 481.1 kB / 417.8 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.1192, allocations: 0 / 417.8 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.286e-05/0.1192, allocations: 16 kB / 417.8 MB, free: 12.89 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.156e-05/0.1193, allocations: 8 kB / 417.8 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008377/0.1201, allocations: 346.3 kB / 418.2 MB, free: 12.55 MB / 350.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.002061/0.1222, allocations: 1.279 MB / 419.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007259/0.1229, allocations: 371.5 kB / 419.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004314/0.1234, allocations: 188.6 kB / 420 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.826e-05/0.1234, allocations: 12.58 kB / 420 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.654e-05/0.1235, allocations: 42.5 kB / 420 MB, free: 10.54 MB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 1.613e-06/0.1235, allocations: 3.938 kB / 420 MB, free: 10.53 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.001663/0.1251, allocations: 0.7195 MB / 420.8 MB, free: 9.762 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000249/0.1254, allocations: 448.9 kB / 421.2 MB, free: 9.219 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005493/0.126, allocations: 454 kB / 421.7 MB, free: 8.77 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.399e-05/0.126, allocations: 37.7 kB / 421.7 MB, free: 8.727 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002039/0.1262, allocations: 232.7 kB / 421.9 MB, free: 8.492 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001193/0.1263, allocations: 134.8 kB / 422 MB, free: 8.359 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000144/0.1265, allocations: 81.64 kB / 422.1 MB, free: 8.273 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001869/0.1267, allocations: 362.7 kB / 422.5 MB, free: 7.91 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003958/0.1271, allocations: 135.9 kB / 422.6 MB, free: 7.777 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005265/0.1276, allocations: 286.5 kB / 422.9 MB, free: 7.441 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007819/0.1284, allocations: 337.1 kB / 423.2 MB, free: 7.102 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1284, allocations: 0 / 423.2 MB, free: 7.102 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001082/0.1295, allocations: 498 kB / 423.7 MB, free: 6.598 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.222e-05/0.1296, allocations: 29.7 kB / 423.7 MB, free: 6.562 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.1296, allocations: 0 / 423.7 MB, free: 6.562 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001734/0.1298, allocations: 53.62 kB / 423.8 MB, free: 6.504 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004042/0.1302, allocations: 83.88 kB / 423.9 MB, free: 6.422 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002875/0.1331, allocations: 2.958 MB / 426.8 MB, free: 3.184 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004623/0.1335, allocations: 51.8 kB / 426.9 MB, free: 3.133 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.726e-05/0.1336, allocations: 19.92 kB / 426.9 MB, free: 3.113 MB / 350.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.0002376/0.1338, allocations: 169.8 kB / 427.1 MB, free: 2.938 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.412e-05/0.1339, allocations: 55.67 kB / 427.1 MB, free: 2.883 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001087/0.1341, allocations: 48.77 kB / 427.2 MB, free: 2.832 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.1341, allocations: 4 kB / 427.2 MB, free: 2.828 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.1341, allocations: 0 / 427.2 MB, free: 2.828 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001071/0.1351, allocations: 0.7348 MB / 427.9 MB, free: 1.988 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001736/0.1369, allocations: 1.009 MB / 428.9 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.1369, allocations: 4 kB / 428.9 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004374/0.1374, allocations: 83.94 kB / 429 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.1374, allocations: 7.875 kB / 429 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.818e-05/0.1374, allocations: 12.17 kB / 429 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.1374, allocations: 0 / 429 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1374, allocations: 0 / 429 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001358/0.1388, allocations: 0.6532 MB / 429.7 MB, free: 144 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.1838/0.3226, allocations: 176.5 kB / 429.8 MB, free: 22.59 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001343/0.3228, allocations: 12.52 kB / 429.9 MB, free: 22.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004408/0.3232, allocations: 29.08 kB / 429.9 MB, free: 22.59 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.065e-05/0.3233, allocations: 21.88 kB / 429.9 MB, free: 22.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.342e-05/0.3234, allocations: 12.03 kB / 429.9 MB, free: 22.59 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003371/0.3237, allocations: 323.4 kB / 430.2 MB, free: 22.5 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3237, allocations: 0 / 430.2 MB, free: 22.5 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004932/0.3242, allocations: 138.8 kB / 430.4 MB, free: 22.5 MB / 350.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.0001243/0.3243, allocations: 113.2 kB / 430.5 MB, free: 22.41 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001084/0.3254, allocations: 0.63 MB / 431.1 MB, free: 22.13 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.3254, allocations: 2 kB / 431.1 MB, free: 22.13 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000368/0.3258, allocations: 173.1 kB / 431.3 MB, free: 22.13 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006283/0.3264, allocations: 142.6 kB / 431.4 MB, free: 22.13 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001431/0.3279, allocations: 0.9673 MB / 432.4 MB, free: 21.71 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002464/0.3282, allocations: 0.8366 MB / 433.2 MB, free: 21.01 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001364/0.3283, allocations: 43.62 kB / 433.3 MB, free: 21 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3283, allocations: 0 / 433.3 MB, free: 21 MB / 350.1 MB Notification: Performance of Templates: time 0.01395/0.3423, allocations: 8.913 MB / 442.2 MB, free: 19.46 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/OneMass/OneMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.067713011056185]