Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.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.00159/0.00159, allocations: 69.64 kB / 21.24 MB, free: 0.5547 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.00161/0.00161, allocations: 150.9 kB / 24.48 MB, free: 3.859 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.401/1.401, allocations: 173.4 MB / 201.1 MB, free: 12.7 MB / 190.1 MB " [Timeout remaining time 179] 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.TwoMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001568/0.001568, allocations: 48.53 kB / 319.4 MB, free: 3.277 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09043/0.092, allocations: 52.17 MB / 371.6 MB, free: 7.348 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.006402/0.0984, allocations: 4.508 MB / 376.1 MB, free: 2.812 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002407/0.1008, allocations: 1.246 MB / 377.3 MB, free: 1.562 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002654/0.1011, allocations: 15.88 kB / 377.3 MB, free: 1.547 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004156/0.1015, allocations: 162.6 kB / 377.5 MB, free: 1.387 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006278/0.1021, allocations: 333.2 kB / 377.8 MB, free: 1.059 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004309/0.1026, allocations: 227.6 kB / 378.1 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001281/0.1038, allocations: 1.176 MB / 379.2 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003534/0.1042, allocations: 218.5 kB / 379.4 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004803/0.1047, allocations: 466.3 kB / 379.9 MB, free: 14.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005881/0.1053, allocations: 445.9 kB / 380.3 MB, free: 14.54 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001483/0.1054, allocations: 104 kB / 380.4 MB, free: 14.44 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001813/0.1056, allocations: 104 kB / 380.5 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002105/0.1058, allocations: 235.2 kB / 380.8 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000478/0.1063, allocations: 450.1 kB / 381.2 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001215/0.1075, allocations: 1.206 MB / 382.4 MB, free: 12.45 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1075, allocations: 0 / 382.4 MB, free: 12.45 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.1075, allocations: 0 / 382.4 MB, free: 12.45 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.066e-05/0.1075, allocations: 0 / 382.4 MB, free: 12.45 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.002454/0.11, allocations: 1.296 MB / 383.7 MB, free: 11.11 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.11, allocations: 8.031 kB / 383.7 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001842/0.1102, allocations: 112.3 kB / 383.8 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009968/0.1112, allocations: 0.5311 MB / 384.4 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002883/0.1115, allocations: 297.2 kB / 384.6 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001065/0.1116, allocations: 72.08 kB / 384.7 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001986/0.1136, allocations: 1.604 MB / 386.3 MB, free: 8.121 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.356e-05/0.1136, allocations: 3.938 kB / 386.3 MB, free: 8.117 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.883e-05/0.1136, allocations: 28 kB / 386.3 MB, free: 8.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.681e-05/0.1137, allocations: 15.98 kB / 386.4 MB, free: 8.074 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001476/0.1151, allocations: 0.5946 MB / 387 MB, free: 7.48 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.00307/0.1182, allocations: 1.511 MB / 388.5 MB, free: 5.934 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001323/0.1195, allocations: 0.5796 MB / 389 MB, free: 5.344 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008297/0.1204, allocations: 358.5 kB / 389.4 MB, free: 4.992 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.544e-05/0.1204, allocations: 8.656 kB / 389.4 MB, free: 4.98 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.82e-05/0.1205, allocations: 59.16 kB / 389.5 MB, free: 4.914 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 4.088e-06/0.1205, allocations: 3.984 kB / 389.5 MB, free: 4.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.005069/0.1255, allocations: 1.484 MB / 391 MB, free: 3.41 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004741/0.126, allocations: 0.8195 MB / 391.8 MB, free: 2.391 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007682/0.1268, allocations: 0.6096 MB / 392.4 MB, free: 1.773 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.681e-05/0.1268, allocations: 49.64 kB / 392.4 MB, free: 1.719 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002839/0.1271, allocations: 337.3 kB / 392.8 MB, free: 1.387 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002302/0.1274, allocations: 269.7 kB / 393 MB, free: 1.121 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002414/0.1276, allocations: 146.6 kB / 393.2 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001921/0.1278, allocations: 382.8 kB / 393.5 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007316/0.1285, allocations: 355 kB / 393.9 MB, free: 228 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001417/0.1299, allocations: 1.391 MB / 395.3 MB, free: 14.53 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001424/0.1314, allocations: 0.6817 MB / 396 MB, free: 13.82 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.1314, allocations: 4 kB / 396 MB, free: 13.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002737/0.1341, allocations: 1.166 MB / 397.1 MB, free: 12.6 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.405e-05/0.1342, allocations: 91.7 kB / 397.2 MB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.1342, allocations: 0 / 397.2 MB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006779/0.1349, allocations: 243.2 kB / 397.5 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006341/0.1355, allocations: 135.8 kB / 397.6 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008081/0.1436, allocations: 6.392 MB / 404 MB, free: 5.305 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008097/0.1444, allocations: 95.56 kB / 404.1 MB, free: 5.211 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.391e-05/0.1444, allocations: 20 kB / 404.1 MB, free: 5.191 MB / 366.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.0003428/0.1448, allocations: 221.7 kB / 404.3 MB, free: 4.965 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001444/0.1449, allocations: 87.66 kB / 404.4 MB, free: 4.879 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001775/0.1451, allocations: 91 kB / 404.5 MB, free: 4.781 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.675e-06/0.1451, allocations: 8 kB / 404.5 MB, free: 4.773 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.1451, allocations: 4 kB / 404.5 MB, free: 4.77 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0026/0.1477, allocations: 1.229 MB / 405.7 MB, free: 3.426 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003738/0.1515, allocations: 1.662 MB / 407.4 MB, free: 1.715 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.1515, allocations: 0 / 407.4 MB, free: 1.715 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006997/0.1522, allocations: 143.8 kB / 407.5 MB, free: 1.574 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005476/0.1527, allocations: 206.4 kB / 407.7 MB, free: 1.363 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.536e-05/0.1527, allocations: 12 kB / 407.7 MB, free: 1.352 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006676/0.1594, allocations: 4.936 MB / 412.7 MB, free: 12.11 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1594, allocations: 0 / 412.7 MB, free: 12.11 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003393/0.1628, allocations: 1.388 MB / 414.1 MB, free: 10.7 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004382/0.1633, allocations: 163.2 kB / 414.2 MB, free: 10.54 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001197/0.1634, allocations: 20 kB / 414.2 MB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006664/0.164, allocations: 51.94 kB / 414.3 MB, free: 10.47 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001724/0.1642, allocations: 68.48 kB / 414.4 MB, free: 10.4 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.943e-05/0.1643, allocations: 19.98 kB / 414.4 MB, free: 10.38 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005637/0.1648, allocations: 439 kB / 414.8 MB, free: 9.957 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1648, allocations: 0 / 414.8 MB, free: 9.957 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000875/0.1657, allocations: 283.8 kB / 415.1 MB, free: 9.68 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.0001793/0.1659, allocations: 119.2 kB / 415.2 MB, free: 9.551 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002427/0.1683, allocations: 1.396 MB / 416.6 MB, free: 8.047 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/0.1683, allocations: 7.938 kB / 416.6 MB, free: 8.039 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001425/0.1697, allocations: 0.7418 MB / 417.3 MB, free: 7.262 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009492/0.1707, allocations: 234.8 kB / 417.6 MB, free: 7.035 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002883/0.1736, allocations: 1.612 MB / 419.2 MB, free: 5.391 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003702/0.1739, allocations: 345.7 kB / 419.5 MB, free: 5.027 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003686/0.1743, allocations: 98.17 kB / 419.6 MB, free: 4.93 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001697/0.1745, allocations: 68.42 kB / 419.7 MB, free: 4.863 MB / 382.1 MB Notification: Performance of SimCode: time 4.2e-07/0.1745, allocations: 0 / 419.7 MB, free: 4.863 MB / 382.1 MB Notification: Performance of Templates: time 0.03315/0.2076, allocations: 19.2 MB / 438.9 MB, free: 2.008 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/TwoMass/TwoMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.228932928992435]