Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.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.001628/0.001628, allocations: 73.88 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.001654/0.001654, allocations: 149.5 kB / 24.49 MB, free: 3.723 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.409/1.409, allocations: 173.4 MB / 201.1 MB, free: 12.69 MB / 190.1 MB " [Timeout remaining time 178] 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.OneMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002453/0.002453, allocations: 47.39 kB / 319.4 MB, free: 3.262 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1194, allocations: 52.17 MB / 371.6 MB, free: 7.352 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.004793/0.1242, allocations: 3.356 MB / 374.9 MB, free: 3.977 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00158/0.1257, allocations: 0.9307 MB / 375.9 MB, free: 3.039 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001657/0.1259, allocations: 11.94 kB / 375.9 MB, free: 3.027 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002969/0.1262, allocations: 99.12 kB / 376 MB, free: 2.93 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004034/0.1266, allocations: 214.2 kB / 376.2 MB, free: 2.719 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002611/0.1269, allocations: 127.8 kB / 376.3 MB, free: 2.594 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007779/0.1276, allocations: 0.6808 MB / 377 MB, free: 1.91 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002368/0.1279, allocations: 130.9 kB / 377.1 MB, free: 1.773 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002845/0.1282, allocations: 267.1 kB / 377.4 MB, free: 1.512 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003638/0.1285, allocations: 254.7 kB / 377.6 MB, free: 1.262 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.24e-05/0.1286, allocations: 60 kB / 377.7 MB, free: 1.203 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001084/0.1287, allocations: 56 kB / 377.7 MB, free: 1.148 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001353/0.1289, allocations: 131.5 kB / 377.9 MB, free: 1.02 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003165/0.1292, allocations: 254.9 kB / 378.1 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007525/0.1299, allocations: 0.7042 MB / 378.8 MB, free: 64 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.1299, allocations: 0 / 378.8 MB, free: 64 kB / 334.1 MB Notification: Performance of FrontEnd: time 8.22e-07/0.1299, allocations: 0 / 378.8 MB, free: 64 kB / 334.1 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.1299, allocations: 0 / 378.8 MB, free: 64 kB / 334.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.001523/0.1315, allocations: 0.8371 MB / 379.6 MB, free: 15.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.156e-05/0.1315, allocations: 8.922 kB / 379.7 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001195/0.1316, allocations: 72.56 kB / 379.7 MB, free: 15.11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007074/0.1323, allocations: 369 kB / 380.1 MB, free: 14.72 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001296/0.1325, allocations: 114.3 kB / 380.2 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.378e-05/0.1325, allocations: 28.38 kB / 380.2 MB, free: 14.56 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001067/0.1336, allocations: 0.858 MB / 381.1 MB, free: 13.56 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.1336, allocations: 4 kB / 381.1 MB, free: 13.55 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.042e-05/0.1336, allocations: 19.98 kB / 381.1 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.013e-05/0.1336, allocations: 8 kB / 381.1 MB, free: 13.53 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008539/0.1345, allocations: 330.4 kB / 381.4 MB, free: 13.2 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.001816/0.1363, allocations: 0.9442 MB / 382.4 MB, free: 12.22 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000654/0.137, allocations: 276.7 kB / 382.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004078/0.1374, allocations: 172.6 kB / 382.8 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.953e-05/0.1374, allocations: 8.594 kB / 382.8 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.696e-05/0.1374, allocations: 46.5 kB / 382.9 MB, free: 11.71 MB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 1.654e-06/0.1374, allocations: 0 / 382.9 MB, free: 11.71 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.001537/0.139, allocations: 0.5611 MB / 383.4 MB, free: 11.14 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002553/0.1392, allocations: 456.8 kB / 383.9 MB, free: 10.59 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005151/0.1397, allocations: 429.9 kB / 384.3 MB, free: 10.16 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.238e-05/0.1398, allocations: 37.7 kB / 384.3 MB, free: 10.12 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002005/0.14, allocations: 240.6 kB / 384.6 MB, free: 9.879 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001173/0.1401, allocations: 130.8 kB / 384.7 MB, free: 9.75 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001329/0.1402, allocations: 77.69 kB / 384.8 MB, free: 9.668 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001817/0.1404, allocations: 362.7 kB / 385.1 MB, free: 9.305 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004058/0.1408, allocations: 169.6 kB / 385.3 MB, free: 9.133 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007382/0.1416, allocations: 0.6739 MB / 386 MB, free: 8.305 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007862/0.1423, allocations: 341 kB / 386.3 MB, free: 7.961 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.1424, allocations: 0 / 386.3 MB, free: 7.961 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001068/0.1434, allocations: 0.4959 MB / 386.8 MB, free: 7.441 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.734e-05/0.1435, allocations: 37.69 kB / 386.8 MB, free: 7.398 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.1435, allocations: 4.031 kB / 386.8 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001522/0.1436, allocations: 45.7 kB / 386.9 MB, free: 7.344 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004099/0.144, allocations: 83.88 kB / 387 MB, free: 7.262 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002551/0.1466, allocations: 2.704 MB / 389.7 MB, free: 4.344 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004081/0.147, allocations: 51.8 kB / 389.7 MB, free: 4.293 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.226e-05/0.147, allocations: 12 kB / 389.7 MB, free: 4.281 MB / 350.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.000214/0.1472, allocations: 173.7 kB / 389.9 MB, free: 4.102 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.853e-05/0.1473, allocations: 51.67 kB / 390 MB, free: 4.051 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.709e-05/0.1474, allocations: 52.56 kB / 390 MB, free: 4 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.1474, allocations: 8.234 kB / 390 MB, free: 3.992 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.1474, allocations: 0 / 390 MB, free: 3.992 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001029/0.1484, allocations: 0.7282 MB / 390.7 MB, free: 3.16 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001554/0.15, allocations: 0.8489 MB / 391.6 MB, free: 2.266 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.15, allocations: 4 kB / 391.6 MB, free: 2.262 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004594/0.1505, allocations: 87.88 kB / 391.7 MB, free: 2.176 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.1505, allocations: 0 / 391.7 MB, free: 2.176 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.635e-05/0.1505, allocations: 8 kB / 391.7 MB, free: 2.168 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.1505, allocations: 0 / 391.7 MB, free: 2.168 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.1505, allocations: 0 / 391.7 MB, free: 2.168 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001343/0.1518, allocations: 0.6527 MB / 392.3 MB, free: 1.5 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001805/0.152, allocations: 87.58 kB / 392.4 MB, free: 1.414 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.838e-05/0.1521, allocations: 15.94 kB / 392.4 MB, free: 1.398 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000369/0.1524, allocations: 35.97 kB / 392.5 MB, free: 1.363 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.647e-05/0.1525, allocations: 31.88 kB / 392.5 MB, free: 1.332 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.335e-05/0.1525, allocations: 12 kB / 392.5 MB, free: 1.32 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003626/0.1529, allocations: 307.1 kB / 392.8 MB, free: 1.023 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1529, allocations: 0 / 392.8 MB, free: 1.023 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004327/0.1533, allocations: 139.8 kB / 393 MB, free: 0.8867 MB / 350.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.0001229/0.1535, allocations: 103.5 kB / 393.1 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001249/0.1547, allocations: 0.6544 MB / 393.7 MB, free: 80 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.614e-06/0.1547, allocations: 0 / 393.7 MB, free: 80 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004269/0.1551, allocations: 163.9 kB / 393.9 MB, free: 15.91 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006252/0.1558, allocations: 137.6 kB / 394 MB, free: 15.78 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001606/0.1574, allocations: 0.9304 MB / 394.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002297/0.1576, allocations: 228.4 kB / 395.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002203/0.1578, allocations: 60.25 kB / 395.2 MB, free: 14.52 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001153/0.1579, allocations: 44.5 kB / 395.3 MB, free: 14.47 MB / 366.1 MB Notification: Performance of SimCode: time 6.81e-07/0.1579, allocations: 0 / 395.3 MB, free: 14.47 MB / 366.1 MB Notification: Performance of Templates: time 0.01623/0.1742, allocations: 9.341 MB / 404.6 MB, free: 5.355 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/OneMass/OneMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.512743514031172]