Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001818/0.001818, allocations: 79.73 kB / 21.25 MB, free: 396 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002265/0.002265, allocations: 165.4 kB / 24.5 MB, free: 3.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.486/1.486, allocations: 177.1 MB / 204.7 MB, free: 8.883 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003222/0.003222, allocations: 61.7 kB / 325.5 MB, free: 228 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09662/0.09985, allocations: 53.38 MB / 378.9 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.006747/0.1066, allocations: 4.535 MB / 383.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002837/0.1094, allocations: 1.289 MB / 384.7 MB, free: 9.648 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003698/0.1098, allocations: 11.94 kB / 384.7 MB, free: 9.637 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004621/0.1103, allocations: 158.6 kB / 384.9 MB, free: 9.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006844/0.1109, allocations: 333.2 kB / 385.2 MB, free: 9.152 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004635/0.1114, allocations: 231.6 kB / 385.4 MB, free: 8.926 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001309/0.1127, allocations: 1.172 MB / 386.6 MB, free: 7.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003942/0.1131, allocations: 206.7 kB / 386.8 MB, free: 7.535 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005591/0.1137, allocations: 474.3 kB / 387.3 MB, free: 7.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006166/0.1143, allocations: 441.9 kB / 387.7 MB, free: 6.637 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001609/0.1145, allocations: 107.9 kB / 387.8 MB, free: 6.531 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001814/0.1146, allocations: 104 kB / 387.9 MB, free: 6.43 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002156/0.1148, allocations: 227.2 kB / 388.1 MB, free: 6.207 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004838/0.1153, allocations: 450.1 kB / 388.6 MB, free: 5.766 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001336/0.1167, allocations: 1.21 MB / 389.8 MB, free: 4.551 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1167, allocations: 4 kB / 389.8 MB, free: 4.547 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1167, allocations: 0 / 389.8 MB, free: 4.547 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.229e-05/0.1167, allocations: 0 / 389.8 MB, free: 4.547 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.002547/0.1192, allocations: 1.296 MB / 391.1 MB, free: 3.199 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.1193, allocations: 8.031 kB / 391.1 MB, free: 3.191 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002153/0.1195, allocations: 120.3 kB / 391.2 MB, free: 3.074 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001068/0.1206, allocations: 0.5273 MB / 391.7 MB, free: 2.516 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003111/0.1209, allocations: 297.2 kB / 392 MB, free: 2.172 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001016/0.121, allocations: 64.12 kB / 392.1 MB, free: 2.109 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002043/0.123, allocations: 1.608 MB / 393.7 MB, free: 220 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.032e-05/0.123, allocations: 0 / 393.7 MB, free: 220 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.869e-05/0.1231, allocations: 28 kB / 393.7 MB, free: 192 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.4e-05/0.1231, allocations: 12 kB / 393.7 MB, free: 180 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001532/0.1246, allocations: 0.5946 MB / 394.3 MB, free: 15.58 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.003329/0.128, allocations: 1.53 MB / 395.9 MB, free: 14.02 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001361/0.1293, allocations: 0.5782 MB / 396.4 MB, free: 13.43 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009126/0.1302, allocations: 360.1 kB / 396.8 MB, free: 13.08 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.852e-05/0.1303, allocations: 8.656 kB / 396.8 MB, free: 13.07 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.233e-05/0.1304, allocations: 51.16 kB / 396.9 MB, free: 13.01 MB / 366.1 MB Notification: Performance of pre-optimization done (n=73): time 2.365e-06/0.1304, allocations: 0 / 396.9 MB, free: 13.01 MB / 366.1 MB Notification: Performance of matching and sorting (n=73): time 0.0053/0.1357, allocations: 1.48 MB / 398.3 MB, free: 11.51 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005468/0.1362, allocations: 0.8234 MB / 399.2 MB, free: 10.49 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008289/0.137, allocations: 0.6057 MB / 399.8 MB, free: 9.871 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.513e-05/0.1371, allocations: 45.7 kB / 399.8 MB, free: 9.82 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003143/0.1374, allocations: 345.3 kB / 400.1 MB, free: 9.48 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002632/0.1377, allocations: 273.6 kB / 400.4 MB, free: 9.211 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002431/0.1379, allocations: 142.7 kB / 400.6 MB, free: 9.066 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002165/0.1382, allocations: 386.7 kB / 400.9 MB, free: 8.68 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007478/0.1389, allocations: 350.9 kB / 401.3 MB, free: 8.316 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001513/0.1404, allocations: 1.387 MB / 402.7 MB, free: 6.629 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001499/0.1419, allocations: 0.6817 MB / 403.3 MB, free: 5.922 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.399e-06/0.1419, allocations: 0 / 403.3 MB, free: 5.922 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002946/0.1449, allocations: 1.17 MB / 404.5 MB, free: 4.695 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001078/0.145, allocations: 89.05 kB / 404.6 MB, free: 4.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.719e-06/0.145, allocations: 0 / 404.6 MB, free: 4.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007958/0.1458, allocations: 243.2 kB / 404.8 MB, free: 4.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006576/0.1464, allocations: 135.8 kB / 405 MB, free: 4.207 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008778/0.1552, allocations: 6.39 MB / 411.4 MB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000922/0.1561, allocations: 99.56 kB / 411.5 MB, free: 13.31 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.522e-05/0.1562, allocations: 23.94 kB / 411.5 MB, free: 13.29 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.0004092/0.1566, allocations: 217.7 kB / 411.7 MB, free: 13.07 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002052/0.1568, allocations: 91.42 kB / 411.8 MB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002054/0.157, allocations: 87 kB / 411.9 MB, free: 12.88 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.717e-06/0.1571, allocations: 12 kB / 411.9 MB, free: 12.87 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.1571, allocations: 0 / 411.9 MB, free: 12.87 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002746/0.1598, allocations: 1.229 MB / 413.1 MB, free: 11.53 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004024/0.1638, allocations: 1.658 MB / 414.8 MB, free: 9.824 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.1638, allocations: 0 / 414.8 MB, free: 9.824 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007122/0.1645, allocations: 147.8 kB / 414.9 MB, free: 9.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005726/0.1651, allocations: 194.6 kB / 415.1 MB, free: 9.48 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.709e-05/0.1652, allocations: 24 kB / 415.1 MB, free: 9.457 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007075/0.1723, allocations: 4.924 MB / 420 MB, free: 4.227 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.1723, allocations: 4.031 kB / 420.1 MB, free: 4.223 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003562/0.1758, allocations: 1.396 MB / 421.4 MB, free: 2.801 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004296/0.1762, allocations: 163.4 kB / 421.6 MB, free: 2.641 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000142/0.1764, allocations: 20 kB / 421.6 MB, free: 2.621 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007071/0.1771, allocations: 55.94 kB / 421.7 MB, free: 2.566 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001767/0.1773, allocations: 68.47 kB / 421.7 MB, free: 2.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.756e-05/0.1773, allocations: 19.98 kB / 421.8 MB, free: 2.48 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005985/0.1779, allocations: 435.1 kB / 422.2 MB, free: 2.059 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1779, allocations: 0 / 422.2 MB, free: 2.059 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009145/0.1788, allocations: 287.7 kB / 422.5 MB, free: 1.777 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.0001837/0.179, allocations: 119.2 kB / 422.6 MB, free: 1.648 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002519/0.1815, allocations: 1.4 MB / 424 MB, free: 148 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.137e-06/0.1815, allocations: 0 / 424 MB, free: 148 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00147/0.183, allocations: 0.7418 MB / 424.7 MB, free: 15.36 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001023/0.184, allocations: 230.9 kB / 425 MB, free: 15.14 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003033/0.1871, allocations: 1.61 MB / 426.6 MB, free: 13.5 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004084/0.1875, allocations: 349.7 kB / 426.9 MB, free: 13.13 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003938/0.1879, allocations: 94.17 kB / 427 MB, free: 13.04 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001799/0.188, allocations: 68.48 kB / 427.1 MB, free: 12.96 MB / 398.1 MB Notification: Performance of SimCode: time 5.21e-07/0.188, allocations: 0 / 427.1 MB, free: 12.96 MB / 398.1 MB Notification: Performance of Templates: time 0.03272/0.2208, allocations: 19.2 MB / 446.3 MB, free: 10.11 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.274936355999671]