Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.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.001853/0.001853, allocations: 75.75 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.002141/0.002141, allocations: 159.7 kB / 24.49 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.483/1.483, allocations: 177.1 MB / 204.7 MB, free: 9.016 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.OneMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003083/0.003083, allocations: 65.86 kB / 325.5 MB, free: 220 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09448/0.09756, allocations: 53.39 MB / 378.9 MB, free: 15.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.004665/0.1022, allocations: 3.372 MB / 382.3 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001609/0.1038, allocations: 0.9657 MB / 383.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001649/0.104, allocations: 7.938 kB / 383.3 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003157/0.1043, allocations: 107.1 kB / 383.4 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003922/0.1047, allocations: 202.3 kB / 383.6 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002648/0.105, allocations: 135.8 kB / 383.7 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007473/0.1057, allocations: 0.677 MB / 384.4 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002326/0.106, allocations: 126.9 kB / 384.5 MB, free: 9.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002771/0.1062, allocations: 267 kB / 384.7 MB, free: 9.648 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003433/0.1066, allocations: 254.8 kB / 385 MB, free: 9.398 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.125e-05/0.1067, allocations: 60 kB / 385.1 MB, free: 9.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001058/0.1068, allocations: 56 kB / 385.1 MB, free: 9.285 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001187/0.1069, allocations: 127.5 kB / 385.2 MB, free: 9.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002748/0.1072, allocations: 262.8 kB / 385.5 MB, free: 8.902 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007287/0.1079, allocations: 0.6926 MB / 386.2 MB, free: 8.207 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1079, allocations: 0 / 386.2 MB, free: 8.207 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1079, allocations: 0 / 386.2 MB, free: 8.207 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.325e-06/0.1079, allocations: 4 kB / 386.2 MB, free: 8.203 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.001579/0.1095, allocations: 0.8371 MB / 387 MB, free: 7.324 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.1095, allocations: 19.86 kB / 387 MB, free: 7.305 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001243/0.1096, allocations: 72.52 kB / 387.1 MB, free: 7.234 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007092/0.1103, allocations: 373.1 kB / 387.5 MB, free: 6.844 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001275/0.1105, allocations: 110.3 kB / 387.6 MB, free: 6.719 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.801e-05/0.1105, allocations: 36.33 kB / 387.6 MB, free: 6.684 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001037/0.1116, allocations: 0.8541 MB / 388.5 MB, free: 5.684 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.1116, allocations: 0 / 388.5 MB, free: 5.684 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.91e-05/0.1116, allocations: 16 kB / 388.5 MB, free: 5.668 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/0.1116, allocations: 8 kB / 388.5 MB, free: 5.66 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008459/0.1125, allocations: 342.3 kB / 388.8 MB, free: 5.324 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.001805/0.1143, allocations: 0.9286 MB / 389.8 MB, free: 4.355 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000665/0.115, allocations: 286.3 kB / 390 MB, free: 4.066 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003986/0.1154, allocations: 164.8 kB / 390.2 MB, free: 3.902 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.073e-05/0.1154, allocations: 4 kB / 390.2 MB, free: 3.898 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.511e-05/0.1154, allocations: 46.48 kB / 390.3 MB, free: 3.844 MB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 1.423e-06/0.1154, allocations: 0 / 390.3 MB, free: 3.844 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.001572/0.117, allocations: 0.5794 MB / 390.8 MB, free: 3.254 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002358/0.1172, allocations: 444.9 kB / 391.3 MB, free: 2.715 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004858/0.1177, allocations: 430 kB / 391.7 MB, free: 2.289 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.021e-05/0.1178, allocations: 37.7 kB / 391.7 MB, free: 2.246 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000198/0.118, allocations: 252.5 kB / 392 MB, free: 1.996 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001029/0.1181, allocations: 118.9 kB / 392.1 MB, free: 1.879 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001332/0.1182, allocations: 81.47 kB / 392.2 MB, free: 1.793 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.00017/0.1184, allocations: 358.7 kB / 392.5 MB, free: 1.434 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003933/0.1188, allocations: 161.6 kB / 392.7 MB, free: 1.27 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007215/0.1195, allocations: 0.6816 MB / 393.4 MB, free: 444 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007623/0.1202, allocations: 337.2 kB / 393.7 MB, free: 96 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.932e-06/0.1202, allocations: 4 kB / 393.7 MB, free: 92 kB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.00105/0.1213, allocations: 0.4998 MB / 394.2 MB, free: 15.56 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.495e-05/0.1213, allocations: 33.7 kB / 394.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.1213, allocations: 0 / 394.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001548/0.1215, allocations: 53.64 kB / 394.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004005/0.1219, allocations: 83.94 kB / 394.4 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002514/0.1244, allocations: 2.704 MB / 397.1 MB, free: 12.47 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003871/0.1248, allocations: 47.8 kB / 397.1 MB, free: 12.42 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.938e-05/0.1248, allocations: 12 kB / 397.1 MB, free: 12.41 MB / 366.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.0002078/0.125, allocations: 181.9 kB / 397.3 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.806e-05/0.1251, allocations: 47.72 kB / 397.3 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001007/0.1252, allocations: 48.58 kB / 397.4 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.1252, allocations: 4 kB / 397.4 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.903e-06/0.1252, allocations: 0 / 397.4 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001026/0.1262, allocations: 0.7348 MB / 398.1 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001545/0.1278, allocations: 0.8572 MB / 399 MB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.1278, allocations: 0 / 399 MB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004511/0.1282, allocations: 87.94 kB / 399.1 MB, free: 10.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.768e-06/0.1282, allocations: 4 kB / 399.1 MB, free: 10.3 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.586e-05/0.1283, allocations: 11.92 kB / 399.1 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.46e-06/0.1283, allocations: 4 kB / 399.1 MB, free: 10.28 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1283, allocations: 0 / 399.1 MB, free: 10.28 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001311/0.1296, allocations: 0.6485 MB / 399.7 MB, free: 9.617 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001855/0.1298, allocations: 95.62 kB / 399.8 MB, free: 9.523 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.961e-05/0.1298, allocations: 8 kB / 399.8 MB, free: 9.516 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003742/0.1302, allocations: 31.91 kB / 399.9 MB, free: 9.484 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.368e-05/0.1303, allocations: 23.95 kB / 399.9 MB, free: 9.461 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.061e-05/0.1303, allocations: 8 kB / 399.9 MB, free: 9.453 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003433/0.1306, allocations: 307.1 kB / 400.2 MB, free: 9.156 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1306, allocations: 0 / 400.2 MB, free: 9.156 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004423/0.1311, allocations: 143.9 kB / 400.3 MB, free: 9.016 MB / 366.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.0001184/0.1312, allocations: 107.2 kB / 400.4 MB, free: 8.902 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001225/0.1324, allocations: 0.6428 MB / 401.1 MB, free: 8.215 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.1324, allocations: 7.938 kB / 401.1 MB, free: 8.207 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004039/0.1328, allocations: 155.9 kB / 401.3 MB, free: 8.055 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006115/0.1334, allocations: 136.7 kB / 401.4 MB, free: 7.93 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001548/0.135, allocations: 0.9391 MB / 402.3 MB, free: 6.957 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000222/0.1352, allocations: 228.5 kB / 402.5 MB, free: 6.707 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002107/0.1354, allocations: 56.25 kB / 402.6 MB, free: 6.652 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001152/0.1355, allocations: 44.48 kB / 402.6 MB, free: 6.609 MB / 366.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1355, allocations: 4 kB / 402.6 MB, free: 6.605 MB / 366.1 MB Notification: Performance of Templates: time 0.01635/0.1519, allocations: 9.334 MB / 412 MB, free: 13.48 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/OneMass/OneMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.555694184964523]