Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.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.0009684/0.0009684, allocations: 79.92 kB / 20.72 MB, free: 3.77 MB / 18.57 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.001025/0.001025, allocations: 169 kB / 24.14 MB, free: 360 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9023/0.9023, allocations: 158.6 MB / 186 MB, free: 2.77 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.141/0.141, allocations: 32.37 MB / 270.7 MB, free: 14.6 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ModelicaTest.Tables.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.572e-06/1.572e-06, allocations: 0 / 299.1 MB, free: 2.207 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.945e-05/2.102e-05, allocations: 2.312 kB / 299.1 MB, free: 2.203 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.002104/0.002125, allocations: 1.616 MB / 300.7 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1291/0.1312, allocations: 1.064 MB / 301.8 MB, free: 19.32 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.752e-05/0.1313, allocations: 0 / 301.8 MB, free: 19.32 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002337/0.1315, allocations: 27.25 kB / 301.8 MB, free: 19.3 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002125/0.1317, allocations: 45.52 kB / 301.8 MB, free: 19.29 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002316/0.132, allocations: 75.14 kB / 301.9 MB, free: 19.29 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001324/0.1321, allocations: 68.89 kB / 302 MB, free: 19.28 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.326e-05/0.1322, allocations: 16.84 kB / 302 MB, free: 19.28 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.441e-05/0.1322, allocations: 30.91 kB / 302 MB, free: 19.28 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001051/0.1324, allocations: 23.95 kB / 302 MB, free: 19.27 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.663e-05/0.1324, allocations: 4.406 kB / 302 MB, free: 19.27 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001131/0.1325, allocations: 50.64 kB / 302.1 MB, free: 19.27 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.872e-05/0.1325, allocations: 17.78 kB / 302.1 MB, free: 19.27 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.491e-05/0.1326, allocations: 14.38 kB / 302.1 MB, free: 19.27 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001805/0.1327, allocations: 93.16 kB / 302.2 MB, free: 19.25 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.1327, allocations: 0 / 302.2 MB, free: 19.25 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1327, allocations: 0 / 302.2 MB, free: 19.25 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.727e-06/0.1327, allocations: 0 / 302.2 MB, free: 19.25 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003162/0.1331, allocations: 287 kB / 302.5 MB, free: 18.99 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.1331, allocations: 10.16 kB / 302.5 MB, free: 18.99 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.563e-05/0.1331, allocations: 8.391 kB / 302.5 MB, free: 18.99 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/0.1333, allocations: 129.3 kB / 302.6 MB, free: 18.86 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.768e-06/0.1333, allocations: 3.75 kB / 302.6 MB, free: 18.86 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.268e-05/0.1333, allocations: 8.219 kB / 302.6 MB, free: 18.85 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001187/0.1334, allocations: 102.8 kB / 302.7 MB, free: 18.76 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.1334, allocations: 0.9688 kB / 302.7 MB, free: 18.76 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.717e-06/0.1334, allocations: 4.688 kB / 302.8 MB, free: 18.75 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.1334, allocations: 0.7188 kB / 302.8 MB, free: 18.75 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.964e-05/0.1335, allocations: 15.78 kB / 302.8 MB, free: 18.75 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002117/0.1337, allocations: 174.1 kB / 302.9 MB, free: 18.6 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.901e-05/0.1337, allocations: 36.06 kB / 303 MB, free: 18.58 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.817e-05/0.1337, allocations: 14.58 kB / 303 MB, free: 18.57 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.768e-05/0.1338, allocations: 2.953 kB / 303 MB, free: 18.57 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.63e-05/0.1338, allocations: 37.27 kB / 303 MB, free: 18.52 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 1.382e-06/0.1338, allocations: 0 / 303 MB, free: 18.52 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003252/0.1341, allocations: 108.3 kB / 303.1 MB, free: 18.48 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.476e-05/0.1341, allocations: 79.39 kB / 303.2 MB, free: 18.39 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.896e-05/0.1342, allocations: 140.1 kB / 303.3 MB, free: 18.27 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.206e-06/0.1342, allocations: 30.17 kB / 303.4 MB, free: 18.24 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.11e-05/0.1343, allocations: 88.19 kB / 303.5 MB, free: 18.16 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.177e-05/0.1343, allocations: 28.8 kB / 303.5 MB, free: 18.14 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.301e-05/0.1343, allocations: 25.03 kB / 303.5 MB, free: 18.12 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.162e-05/0.1343, allocations: 323.9 kB / 303.8 MB, free: 17.81 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.675e-05/0.1344, allocations: 6.734 kB / 303.8 MB, free: 17.81 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.894e-05/0.1344, allocations: 49.16 kB / 303.9 MB, free: 17.76 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.058e-05/0.1344, allocations: 29.88 kB / 303.9 MB, free: 17.75 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1344, allocations: 1.125 kB / 303.9 MB, free: 17.75 MB / 282.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.896e-05/0.1345, allocations: 61.53 kB / 304 MB, free: 17.72 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.1345, allocations: 4.75 kB / 304 MB, free: 17.72 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.1345, allocations: 1.859 kB / 304 MB, free: 17.72 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.1345, allocations: 0 / 304 MB, free: 17.72 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.576e-05/0.1346, allocations: 19.33 kB / 304 MB, free: 17.71 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.517e-06/0.1346, allocations: 1.156 kB / 304 MB, free: 17.71 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.611e-05/0.1347, allocations: 3.828 kB / 304 MB, free: 17.71 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.793e-06/0.1347, allocations: 1.844 kB / 304 MB, free: 17.71 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (8): * Single equations (assignments): 8 * 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 prepare postOptimizeDAE: time 4.893e-05/0.1347, allocations: 118.6 kB / 304.1 MB, free: 17.6 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.876e-05/0.1347, allocations: 12.31 kB / 304.1 MB, free: 17.59 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001116/0.1348, allocations: 72.11 kB / 304.2 MB, free: 17.56 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.1348, allocations: 5.031 kB / 304.2 MB, free: 17.56 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.315e-06/0.1349, allocations: 1.891 kB / 304.2 MB, free: 17.56 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.1349, allocations: 0 / 304.2 MB, free: 17.56 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002271/0.1351, allocations: 233.2 kB / 304.4 MB, free: 17.37 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.1351, allocations: 0.75 kB / 304.4 MB, free: 17.37 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.537e-05/0.1351, allocations: 17.44 kB / 304.5 MB, free: 17.37 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.1351, allocations: 2.234 kB / 304.5 MB, free: 17.37 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.93e-06/0.1351, allocations: 7.312 kB / 304.5 MB, free: 17.36 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.1351, allocations: 1.375 kB / 304.5 MB, free: 17.36 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.1351, allocations: 0.75 kB / 304.5 MB, free: 17.36 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.627e-05/0.1352, allocations: 158.8 kB / 304.6 MB, free: 17.23 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.977e-06/0.1352, allocations: 3.484 kB / 304.6 MB, free: 17.23 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.251e-05/0.1352, allocations: 2.938 kB / 304.6 MB, free: 17.23 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.787e-05/0.1353, allocations: 2.781 kB / 304.6 MB, free: 17.23 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.875e-05/0.1353, allocations: 13.61 kB / 304.6 MB, free: 17.23 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.069e-06/0.1353, allocations: 1.609 kB / 304.7 MB, free: 17.23 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.685e-05/0.1354, allocations: 30.39 kB / 304.7 MB, free: 17.21 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1354, allocations: 0 / 304.7 MB, free: 17.21 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002248/0.1356, allocations: 27.28 kB / 304.7 MB, free: 17.21 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (8): * Single equations (assignments): 8 * 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.001167/0.1367, allocations: 0.559 MB / 305.3 MB, free: 16.9 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001006/0.1368, allocations: 31.64 kB / 305.3 MB, free: 16.89 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5e-06/0.1369, allocations: 1.125 kB / 305.3 MB, free: 16.89 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.227e-05/0.1369, allocations: 22.89 kB / 305.3 MB, free: 16.88 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001483/0.137, allocations: 28.12 kB / 305.3 MB, free: 16.87 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002745/0.1373, allocations: 172.2 kB / 305.5 MB, free: 16.73 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.656e-05/0.1373, allocations: 61.03 kB / 305.6 MB, free: 16.66 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.401e-05/0.1374, allocations: 22.17 kB / 305.6 MB, free: 16.65 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.547e-05/0.1374, allocations: 72.25 kB / 305.7 MB, free: 16.61 MB / 282.7 MB Notification: Performance of SimCode: time 9.62e-07/0.1374, allocations: 0 / 305.7 MB, free: 16.61 MB / 282.7 MB Notification: Performance of Templates: time 0.003618/0.141, allocations: 1.638 MB / 307.3 MB, free: 16.39 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test18/Test18.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.001474302727729]