Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001701/0.001701, allocations: 75.73 kB / 21.24 MB, free: 400 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002054/0.002054, allocations: 169.2 kB / 24.5 MB, free: 3.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.464/1.464, allocations: 177.2 MB / 204.9 MB, free: 8.91 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001511/0.001511, allocations: 42.75 kB / 325.6 MB, free: 260 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09312/0.09463, allocations: 53.34 MB / 378.9 MB, free: 15.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.006425/0.1011, allocations: 4.519 MB / 383.4 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002627/0.1037, allocations: 1.281 MB / 384.7 MB, free: 9.793 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000282/0.104, allocations: 11.94 kB / 384.7 MB, free: 9.781 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004428/0.1044, allocations: 166.6 kB / 384.9 MB, free: 9.617 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006373/0.105, allocations: 333.2 kB / 385.2 MB, free: 9.289 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000441/0.1055, allocations: 231.6 kB / 385.4 MB, free: 9.062 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001391/0.1069, allocations: 1.176 MB / 386.6 MB, free: 7.879 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003787/0.1073, allocations: 210.7 kB / 386.8 MB, free: 7.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005472/0.1078, allocations: 466.4 kB / 387.3 MB, free: 7.203 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006366/0.1084, allocations: 445.9 kB / 387.7 MB, free: 6.766 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001508/0.1086, allocations: 108 kB / 387.8 MB, free: 6.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001829/0.1088, allocations: 104 kB / 387.9 MB, free: 6.559 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002199/0.109, allocations: 227.2 kB / 388.1 MB, free: 6.336 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004999/0.1095, allocations: 446.2 kB / 388.6 MB, free: 5.898 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001303/0.1108, allocations: 1.218 MB / 389.8 MB, free: 4.676 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.1108, allocations: 3.938 kB / 389.8 MB, free: 4.672 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1108, allocations: 0 / 389.8 MB, free: 4.672 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.107e-05/0.1108, allocations: 0 / 389.8 MB, free: 4.672 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.002531/0.1133, allocations: 1.292 MB / 391.1 MB, free: 3.328 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.1134, allocations: 8.031 kB / 391.1 MB, free: 3.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001914/0.1136, allocations: 116.3 kB / 391.2 MB, free: 3.207 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00106/0.1146, allocations: 0.5312 MB / 391.7 MB, free: 2.645 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003017/0.1149, allocations: 293.2 kB / 392 MB, free: 2.305 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000102/0.115, allocations: 68.11 kB / 392.1 MB, free: 2.238 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002/0.117, allocations: 1.604 MB / 393.7 MB, free: 356 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.933e-05/0.1171, allocations: 0 / 393.7 MB, free: 356 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.681e-05/0.1171, allocations: 28 kB / 393.7 MB, free: 328 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.35e-05/0.1171, allocations: 16 kB / 393.7 MB, free: 312 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001514/0.1187, allocations: 0.5984 MB / 394.3 MB, free: 15.7 MB / 366.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.003142/0.1218, allocations: 1.523 MB / 395.9 MB, free: 14.14 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00138/0.1232, allocations: 0.5788 MB / 396.4 MB, free: 13.56 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008425/0.124, allocations: 357.6 kB / 396.8 MB, free: 13.21 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.893e-05/0.1241, allocations: 12.64 kB / 396.8 MB, free: 13.19 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.057e-05/0.1241, allocations: 47.22 kB / 396.8 MB, free: 13.14 MB / 366.1 MB Notification: Performance of pre-optimization done (n=73): time 2.265e-06/0.1241, allocations: 4 kB / 396.8 MB, free: 13.13 MB / 366.1 MB Notification: Performance of matching and sorting (n=73): time 0.005259/0.1294, allocations: 1.488 MB / 398.3 MB, free: 11.63 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00049/0.1299, allocations: 0.8234 MB / 399.2 MB, free: 10.61 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008027/0.1307, allocations: 0.6096 MB / 399.8 MB, free: 9.984 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.763e-05/0.1308, allocations: 45.7 kB / 399.8 MB, free: 9.934 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003361/0.1311, allocations: 337.3 kB / 400.1 MB, free: 9.602 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000268/0.1314, allocations: 265.7 kB / 400.4 MB, free: 9.34 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002655/0.1316, allocations: 146.7 kB / 400.5 MB, free: 9.191 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002086/0.1318, allocations: 382.8 kB / 400.9 MB, free: 8.809 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007696/0.1326, allocations: 351 kB / 401.3 MB, free: 8.445 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001492/0.1341, allocations: 1.391 MB / 402.6 MB, free: 6.75 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001535/0.1356, allocations: 0.6779 MB / 403.3 MB, free: 6.047 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/0.1356, allocations: 4 kB / 403.3 MB, free: 6.043 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002838/0.1385, allocations: 1.166 MB / 404.5 MB, free: 4.824 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.12e-05/0.1385, allocations: 88.98 kB / 404.6 MB, free: 4.719 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.1386, allocations: 0 / 404.6 MB, free: 4.719 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007345/0.1393, allocations: 251.2 kB / 404.8 MB, free: 4.461 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006606/0.14, allocations: 139.8 kB / 405 MB, free: 4.324 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008447/0.1484, allocations: 6.38 MB / 411.3 MB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008394/0.1492, allocations: 99.61 kB / 411.4 MB, free: 13.44 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.898e-05/0.1493, allocations: 20.06 kB / 411.5 MB, free: 13.42 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (69): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(3,3), (1,3), (1,7), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003458/0.1496, allocations: 225.7 kB / 411.7 MB, free: 13.19 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001468/0.1498, allocations: 91.42 kB / 411.8 MB, free: 13.1 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001753/0.15, allocations: 83.02 kB / 411.9 MB, free: 13.01 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.066e-05/0.15, allocations: 8 kB / 411.9 MB, free: 13 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.15, allocations: 0 / 411.9 MB, free: 13 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002695/0.1527, allocations: 1.237 MB / 413.1 MB, free: 11.65 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003893/0.1566, allocations: 1.666 MB / 414.8 MB, free: 9.938 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.1566, allocations: 0 / 414.8 MB, free: 9.938 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007277/0.1573, allocations: 140 kB / 414.9 MB, free: 9.801 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005748/0.1579, allocations: 198.5 kB / 415.1 MB, free: 9.598 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.429e-05/0.1579, allocations: 19.98 kB / 415.1 MB, free: 9.578 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00707/0.165, allocations: 4.928 MB / 420 MB, free: 4.344 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.165, allocations: 192 / 420 MB, free: 4.344 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003765/0.1688, allocations: 1.399 MB / 421.4 MB, free: 2.918 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005178/0.1693, allocations: 167.2 kB / 421.6 MB, free: 2.754 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001848/0.1695, allocations: 20 kB / 421.6 MB, free: 2.734 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007449/0.1702, allocations: 47.95 kB / 421.7 MB, free: 2.688 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001892/0.1704, allocations: 64.53 kB / 421.7 MB, free: 2.625 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.665e-05/0.1704, allocations: 16 kB / 421.8 MB, free: 2.609 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006617/0.1711, allocations: 443 kB / 422.2 MB, free: 2.18 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1711, allocations: 0 / 422.2 MB, free: 2.18 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009672/0.1721, allocations: 287.7 kB / 422.5 MB, free: 1.898 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (pipe1.T,pipe2.T,pipe3.T,heatCapacitor1.T,heatCapacitor2.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 (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,3), (1,3), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000204/0.1723, allocations: 119.2 kB / 422.6 MB, free: 1.77 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002873/0.1752, allocations: 1.392 MB / 424 MB, free: 276 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.632e-06/0.1752, allocations: 4 kB / 424 MB, free: 272 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001621/0.1768, allocations: 0.7457 MB / 424.7 MB, free: 15.48 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001166/0.1779, allocations: 227 kB / 424.9 MB, free: 15.26 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003072/0.181, allocations: 1.612 MB / 426.6 MB, free: 13.62 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003842/0.1814, allocations: 345.7 kB / 426.9 MB, free: 13.25 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004049/0.1818, allocations: 102.2 kB / 427 MB, free: 13.15 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001757/0.182, allocations: 64.5 kB / 427.1 MB, free: 13.09 MB / 398.1 MB Notification: Performance of SimCode: time 5.31e-07/0.182, allocations: 0 / 427.1 MB, free: 13.09 MB / 398.1 MB Notification: Performance of Templates: time 0.03373/0.2157, allocations: 19.22 MB / 446.3 MB, free: 10.21 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.sim & ./Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/TwoMass/TwoMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.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: 5.273605309892446]