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/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.001249/0.001249, allocations: 114.2 kB / 18.4 MB, free: 4.691 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.001302/0.001302, allocations: 189.3 kB / 21.34 MB, free: 1.762 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.495/1.495, allocations: 205.1 MB / 229.2 MB, free: 4.375 MB / 174.1 MB " [Timeout remaining time 178] 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 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_3.2.3_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_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001774/0.001775, allocations: 50.83 kB / 335.2 MB, free: 14.43 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1137, allocations: 46.62 MB / 381.8 MB, free: 488 kB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.005449/0.1192, allocations: 3.665 MB / 385.5 MB, free: 12.79 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002245/0.1215, allocations: 1.017 MB / 386.5 MB, free: 11.76 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000283/0.1218, allocations: 11.94 kB / 386.5 MB, free: 11.75 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004131/0.1223, allocations: 111 kB / 386.6 MB, free: 11.64 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004677/0.1228, allocations: 198.3 kB / 386.8 MB, free: 11.45 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003352/0.1231, allocations: 131.8 kB / 387 MB, free: 11.32 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008213/0.1239, allocations: 0.6809 MB / 387.6 MB, free: 10.63 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003137/0.1243, allocations: 194.2 kB / 387.8 MB, free: 10.44 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003009/0.1246, allocations: 259 kB / 388.1 MB, free: 10.19 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003841/0.125, allocations: 290.8 kB / 388.4 MB, free: 9.902 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.079e-05/0.1251, allocations: 56 kB / 388.4 MB, free: 9.848 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001124/0.1252, allocations: 60 kB / 388.5 MB, free: 9.789 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001341/0.1253, allocations: 131.5 kB / 388.6 MB, free: 9.66 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003355/0.1257, allocations: 310.6 kB / 388.9 MB, free: 9.355 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008111/0.1265, allocations: 0.6925 MB / 389.6 MB, free: 8.66 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.1265, allocations: 4 kB / 389.6 MB, free: 8.656 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1265, allocations: 0 / 389.6 MB, free: 8.656 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.689e-06/0.1265, allocations: 0 / 389.6 MB, free: 8.656 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.00165/0.1282, allocations: 0.9163 MB / 390.5 MB, free: 7.684 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.1282, allocations: 8.031 kB / 390.5 MB, free: 7.676 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001335/0.1284, allocations: 68.56 kB / 390.6 MB, free: 7.609 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008733/0.1293, allocations: 438.9 kB / 391 MB, free: 7.141 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001176/0.1294, allocations: 58.91 kB / 391.1 MB, free: 7.078 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.95e-05/0.1295, allocations: 32.38 kB / 391.1 MB, free: 7.047 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008958/0.1304, allocations: 489 kB / 391.6 MB, free: 6.512 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.919e-05/0.1304, allocations: 0 / 391.6 MB, free: 6.512 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.265e-05/0.1304, allocations: 16 kB / 391.6 MB, free: 6.496 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.311e-05/0.1305, allocations: 8 kB / 391.6 MB, free: 6.488 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008435/0.1313, allocations: 342.3 kB / 391.9 MB, free: 6.152 MB / 318.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.002158/0.1335, allocations: 1.287 MB / 393.2 MB, free: 4.777 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007498/0.1342, allocations: 383.5 kB / 393.6 MB, free: 4.375 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004108/0.1347, allocations: 172.7 kB / 393.8 MB, free: 4.203 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.015e-05/0.1347, allocations: 19.98 kB / 393.8 MB, free: 4.184 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.287e-05/0.1348, allocations: 38.56 kB / 393.8 MB, free: 4.137 MB / 318.1 MB Notification: Performance of pre-optimization done (n=35): time 1.904e-06/0.1348, allocations: 0 / 393.8 MB, free: 4.137 MB / 318.1 MB Notification: Performance of matching and sorting (n=35): time 0.001737/0.1365, allocations: 0.7162 MB / 394.5 MB, free: 3.371 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002847/0.1368, allocations: 445 kB / 395 MB, free: 2.832 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005808/0.1374, allocations: 465.9 kB / 395.4 MB, free: 2.371 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.346e-05/0.1375, allocations: 33.7 kB / 395.5 MB, free: 2.332 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002029/0.1377, allocations: 236.7 kB / 395.7 MB, free: 2.098 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001193/0.1378, allocations: 134.8 kB / 395.8 MB, free: 1.965 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001547/0.138, allocations: 81.69 kB / 395.9 MB, free: 1.879 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001772/0.1381, allocations: 354.7 kB / 396.3 MB, free: 1.523 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000396/0.1386, allocations: 135.9 kB / 396.4 MB, free: 1.391 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005263/0.1391, allocations: 282.6 kB / 396.7 MB, free: 1.059 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000789/0.1399, allocations: 345.1 kB / 397 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.1399, allocations: 0 / 397 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001073/0.141, allocations: 490.1 kB / 397.5 MB, free: 220 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.366e-05/0.141, allocations: 33.86 kB / 397.5 MB, free: 180 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.1411, allocations: 0 / 397.5 MB, free: 180 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001859/0.1412, allocations: 53.69 kB / 397.6 MB, free: 120 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004048/0.1417, allocations: 79.88 kB / 397.6 MB, free: 40 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002796/0.1445, allocations: 2.958 MB / 400.6 MB, free: 12.79 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004645/0.1449, allocations: 59.75 kB / 400.7 MB, free: 12.73 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.583e-05/0.145, allocations: 11.94 kB / 400.7 MB, free: 12.72 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.0002538/0.1453, allocations: 173.7 kB / 400.8 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.096e-05/0.1454, allocations: 51.7 kB / 400.9 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001073/0.1455, allocations: 52.77 kB / 400.9 MB, free: 12.44 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.86e-06/0.1455, allocations: 7.938 kB / 401 MB, free: 12.43 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.1455, allocations: 0 / 401 MB, free: 12.43 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001103/0.1466, allocations: 0.7309 MB / 401.7 MB, free: 11.6 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001751/0.1484, allocations: 1.016 MB / 402.7 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.1484, allocations: 0 / 402.7 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004576/0.1488, allocations: 87.88 kB / 402.8 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.1489, allocations: 0 / 402.8 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.815e-05/0.1489, allocations: 11.94 kB / 402.8 MB, free: 10.42 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.1489, allocations: 4 kB / 402.8 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1489, allocations: 0 / 402.8 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00134/0.1502, allocations: 0.6452 MB / 403.4 MB, free: 9.754 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002228/0.1505, allocations: 172.7 kB / 403.6 MB, free: 9.566 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.289e-05/0.1506, allocations: 19.91 kB / 403.6 MB, free: 9.547 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003618/0.1509, allocations: 27.97 kB / 403.7 MB, free: 9.52 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.166e-05/0.151, allocations: 23.83 kB / 403.7 MB, free: 9.496 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.955e-05/0.1511, allocations: 12 kB / 403.7 MB, free: 9.484 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004238/0.1515, allocations: 331.1 kB / 404 MB, free: 9.16 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1515, allocations: 0 / 404 MB, free: 9.16 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004725/0.152, allocations: 135.9 kB / 404.2 MB, free: 9.027 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.000154/0.1521, allocations: 107.6 kB / 404.3 MB, free: 8.914 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001388/0.1535, allocations: 0.641 MB / 404.9 MB, free: 8.234 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.6e-06/0.1536, allocations: 4.062 kB / 404.9 MB, free: 8.23 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004367/0.154, allocations: 179.6 kB / 405.1 MB, free: 8.055 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006914/0.1547, allocations: 141.8 kB / 405.2 MB, free: 7.914 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00171/0.1564, allocations: 0.9404 MB / 406.2 MB, free: 6.941 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005132/0.157, allocations: 0.8274 MB / 407 MB, free: 6.086 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000255/0.1572, allocations: 64.36 kB / 407 MB, free: 6.023 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001316/0.1574, allocations: 43.42 kB / 407.1 MB, free: 5.98 MB / 334.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1574, allocations: 0 / 407.1 MB, free: 5.98 MB / 334.1 MB Notification: Performance of Templates: time 0.01733/0.1747, allocations: 8.93 MB / 416 MB, free: 13.03 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.makefile [Timeout 660] (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) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 4.8921861639246345]