Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.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.001672/0.001672, allocations: 71.75 kB / 21.24 MB, free: 404 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.002069/0.002069, allocations: 167.7 kB / 24.5 MB, free: 3.457 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.447/1.447, allocations: 177.2 MB / 204.9 MB, free: 9.066 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.OneMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001588/0.001588, allocations: 55.38 kB / 325.6 MB, free: 280 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09629/0.09788, allocations: 53.34 MB / 378.9 MB, free: 15.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.004799/0.1027, allocations: 3.368 MB / 382.3 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001723/0.1044, allocations: 0.9656 MB / 383.2 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001635/0.1046, allocations: 11.94 kB / 383.2 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003111/0.1049, allocations: 111.1 kB / 383.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003823/0.1053, allocations: 194.3 kB / 383.5 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002614/0.1055, allocations: 139.8 kB / 383.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007453/0.1063, allocations: 0.6847 MB / 384.4 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002222/0.1065, allocations: 122.9 kB / 384.5 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002777/0.1068, allocations: 263.1 kB / 384.7 MB, free: 9.836 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003471/0.1071, allocations: 258.7 kB / 385 MB, free: 9.582 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.02e-05/0.1072, allocations: 56 kB / 385 MB, free: 9.527 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001054/0.1073, allocations: 60 kB / 385.1 MB, free: 9.469 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001205/0.1074, allocations: 123.6 kB / 385.2 MB, free: 9.348 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002829/0.1077, allocations: 262.8 kB / 385.5 MB, free: 9.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007309/0.1084, allocations: 0.7043 MB / 386.2 MB, free: 8.383 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.1084, allocations: 0 / 386.2 MB, free: 8.383 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.1084, allocations: 0 / 386.2 MB, free: 8.383 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.263e-05/0.1085, allocations: 3.938 kB / 386.2 MB, free: 8.379 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.001512/0.11, allocations: 0.8332 MB / 387 MB, free: 7.504 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.11, allocations: 12.03 kB / 387 MB, free: 7.492 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001148/0.1101, allocations: 68.52 kB / 387.1 MB, free: 7.426 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007221/0.1108, allocations: 369.1 kB / 387.5 MB, free: 7.039 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001287/0.111, allocations: 114.3 kB / 387.6 MB, free: 6.91 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.903e-05/0.111, allocations: 40.33 kB / 387.6 MB, free: 6.871 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001069/0.1121, allocations: 0.8541 MB / 388.5 MB, free: 5.871 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.601e-05/0.1121, allocations: 0 / 388.5 MB, free: 5.871 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.133e-05/0.1122, allocations: 20 kB / 388.5 MB, free: 5.852 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.698e-06/0.1122, allocations: 8 kB / 388.5 MB, free: 5.844 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008255/0.113, allocations: 330.4 kB / 388.8 MB, free: 5.52 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.001832/0.1148, allocations: 0.9364 MB / 389.8 MB, free: 4.543 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006757/0.1155, allocations: 283.1 kB / 390 MB, free: 4.258 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003925/0.1159, allocations: 160.8 kB / 390.2 MB, free: 4.098 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.322e-05/0.1159, allocations: 11.94 kB / 390.2 MB, free: 4.086 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.099e-05/0.116, allocations: 42.5 kB / 390.2 MB, free: 4.035 MB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 1.522e-06/0.116, allocations: 0 / 390.2 MB, free: 4.035 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.001556/0.1175, allocations: 0.5718 MB / 390.8 MB, free: 3.453 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002342/0.1178, allocations: 448.9 kB / 391.3 MB, free: 2.91 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004917/0.1182, allocations: 426 kB / 391.7 MB, free: 2.488 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.873e-05/0.1183, allocations: 37.64 kB / 391.7 MB, free: 2.445 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001951/0.1185, allocations: 244.6 kB / 391.9 MB, free: 2.203 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001076/0.1186, allocations: 134.9 kB / 392.1 MB, free: 2.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001335/0.1187, allocations: 81.47 kB / 392.2 MB, free: 1.984 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001691/0.1189, allocations: 350.7 kB / 392.5 MB, free: 1.633 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003943/0.1193, allocations: 169.5 kB / 392.7 MB, free: 1.461 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007285/0.12, allocations: 0.6816 MB / 393.3 MB, free: 0.625 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007657/0.1208, allocations: 341.2 kB / 393.7 MB, free: 288 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.1208, allocations: 0 / 393.7 MB, free: 288 kB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001024/0.1218, allocations: 0.5037 MB / 394.2 MB, free: 15.75 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.644e-05/0.1218, allocations: 33.69 kB / 394.2 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.719e-06/0.1219, allocations: 4 kB / 394.2 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001552/0.122, allocations: 49.7 kB / 394.3 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004099/0.1224, allocations: 87.88 kB / 394.4 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002518/0.1249, allocations: 2.704 MB / 397.1 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003938/0.1253, allocations: 47.8 kB / 397.1 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.242e-05/0.1254, allocations: 12 kB / 397.1 MB, free: 12.59 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.000212/0.1256, allocations: 173.8 kB / 397.3 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.837e-05/0.1257, allocations: 51.72 kB / 397.3 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000104/0.1258, allocations: 52.56 kB / 397.4 MB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.1258, allocations: 4 kB / 397.4 MB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.1258, allocations: 0 / 397.4 MB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001016/0.1268, allocations: 0.7309 MB / 398.1 MB, free: 11.47 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001599/0.1284, allocations: 0.8489 MB / 399 MB, free: 10.58 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.1284, allocations: 0 / 399 MB, free: 10.58 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000441/0.1288, allocations: 91.88 kB / 399.1 MB, free: 10.49 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.1288, allocations: 4 kB / 399.1 MB, free: 10.49 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.591e-05/0.1289, allocations: 8 kB / 399.1 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.1289, allocations: 0 / 399.1 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.1289, allocations: 4 kB / 399.1 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001327/0.1302, allocations: 0.6534 MB / 399.7 MB, free: 9.809 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001857/0.1304, allocations: 87.59 kB / 399.8 MB, free: 9.723 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.68e-05/0.1304, allocations: 8 kB / 399.8 MB, free: 9.715 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000368/0.1308, allocations: 35.91 kB / 399.9 MB, free: 9.68 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.512e-05/0.1309, allocations: 27.94 kB / 399.9 MB, free: 9.652 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.904e-05/0.1309, allocations: 4 kB / 399.9 MB, free: 9.648 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003609/0.1313, allocations: 311.1 kB / 400.2 MB, free: 9.344 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1313, allocations: 3.938 kB / 400.2 MB, free: 9.34 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004454/0.1317, allocations: 139.8 kB / 400.3 MB, free: 9.203 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.000122/0.1318, allocations: 107.3 kB / 400.4 MB, free: 9.09 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001251/0.1331, allocations: 0.6427 MB / 401.1 MB, free: 8.402 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 8.215e-06/0.1331, allocations: 8.062 kB / 401.1 MB, free: 8.395 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004003/0.1335, allocations: 163.8 kB / 401.2 MB, free: 8.234 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006474/0.1341, allocations: 133.5 kB / 401.4 MB, free: 8.105 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001617/0.1357, allocations: 0.9385 MB / 402.3 MB, free: 7.137 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002232/0.136, allocations: 228.5 kB / 402.5 MB, free: 6.887 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002121/0.1362, allocations: 60.19 kB / 402.6 MB, free: 6.828 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001106/0.1363, allocations: 36.5 kB / 402.6 MB, free: 6.793 MB / 366.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1363, allocations: 0 / 402.6 MB, free: 6.793 MB / 366.1 MB Notification: Performance of Templates: time 0.01618/0.1525, allocations: 9.342 MB / 412 MB, free: 13.66 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & ./Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.657839574967511]