Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test17.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.0008897/0.0008897, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.00106/0.00106, allocations: 161 kB / 24.56 MB, free: 16 kB / 18.57 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.048/1.048, allocations: 177.1 MB / 205 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2552/0.2552, allocations: 34.26 MB / 295.7 MB, free: 0.7461 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) 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(ModelicaTest.Tables.CombiTable2Ds.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test17") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test17") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 378 MB, free: 2.656 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.6e-05/2.801e-05, allocations: 2.312 kB / 378 MB, free: 2.652 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test17): time 0.003548/0.003576, allocations: 1.711 MB / 379.8 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001133/0.00471, allocations: 0.7908 MB / 380.5 MB, free: 132 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.62e-05/0.004766, allocations: 0 / 380.5 MB, free: 132 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003628/0.005129, allocations: 39.7 kB / 380.6 MB, free: 92 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002672/0.005396, allocations: 39.83 kB / 380.6 MB, free: 52 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.298e-06/0.0054, allocations: 0 / 380.6 MB, free: 52 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001786/0.005579, allocations: 35.84 kB / 380.7 MB, free: 16 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.911e-05/0.005618, allocations: 7.984 kB / 380.7 MB, free: 8 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.643e-05/0.005674, allocations: 11.98 kB / 380.7 MB, free: 15.99 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.596e-05/0.00574, allocations: 11.92 kB / 380.7 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.43e-05/0.005755, allocations: 0 / 380.7 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.773e-05/0.005812, allocations: 12 kB / 380.7 MB, free: 15.97 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.456e-05/0.005867, allocations: 19.92 kB / 380.7 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.754e-05/0.005894, allocations: 11.94 kB / 380.7 MB, free: 15.94 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001727/0.006067, allocations: 55.7 kB / 380.8 MB, free: 15.89 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.006071, allocations: 0 / 380.8 MB, free: 15.89 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.725e-06/0.006074, allocations: 4 kB / 380.8 MB, free: 15.88 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.024e-05/0.006084, allocations: 0 / 380.8 MB, free: 15.88 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.000418/0.006502, allocations: 392.3 kB / 381.2 MB, free: 15.46 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.006547, allocations: 12.03 kB / 381.2 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.868e-05/0.006596, allocations: 16.83 kB / 381.2 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001233/0.006719, allocations: 112.6 kB / 381.3 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.006732, allocations: 4.312 kB / 381.3 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.445e-05/0.006747, allocations: 4.375 kB / 381.3 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001666/0.006914, allocations: 116.3 kB / 381.4 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.006925, allocations: 192 / 381.4 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.006936, allocations: 384 / 381.4 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-05/0.006995, allocations: 28.3 kB / 381.5 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.009e-05/0.007055, allocations: 23.86 kB / 381.5 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008757/0.00793, allocations: 1.204 MB / 382.7 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001475/0.008078, allocations: 265.4 kB / 382.9 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.826e-05/0.008146, allocations: 126.9 kB / 383.1 MB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.351e-05/0.0082, allocations: 119.2 kB / 383.2 MB, free: 13.31 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.612e-05/0.008286, allocations: 160.6 kB / 383.3 MB, free: 13.14 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 1.824e-06/0.008288, allocations: 4 kB / 383.4 MB, free: 13.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001164/0.008404, allocations: 41.59 kB / 383.4 MB, free: 13.09 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001098/0.008514, allocations: 174.6 kB / 383.6 MB, free: 12.91 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002965/0.00881, allocations: 247 kB / 383.8 MB, free: 12.65 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.816e-05/0.008829, allocations: 25.7 kB / 383.8 MB, free: 12.62 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001643/0.008993, allocations: 206.2 kB / 384 MB, free: 12.41 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.151e-05/0.009004, allocations: 3.984 kB / 384 MB, free: 12.41 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.475e-05/0.009099, allocations: 51.33 kB / 384.1 MB, free: 12.35 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002202/0.009319, allocations: 0.4923 MB / 384.6 MB, free: 11.84 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.638e-05/0.009366, allocations: 15.98 kB / 384.6 MB, free: 11.83 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001743/0.00954, allocations: 196.4 kB / 384.8 MB, free: 11.55 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005837/0.01012, allocations: 233.5 kB / 385 MB, free: 11.24 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.01013, allocations: 0 / 385 MB, free: 11.24 MB / 362.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003107/0.01044, allocations: 165.2 kB / 385.2 MB, free: 11.07 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.258e-05/0.01046, allocations: 9.875 kB / 385.2 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.697e-06/0.01047, allocations: 4 kB / 385.2 MB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.755e-05/0.0105, allocations: 16.5 kB / 385.2 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001443/0.01064, allocations: 35.98 kB / 385.2 MB, free: 11.01 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.541e-05/0.01066, allocations: 19.92 kB / 385.3 MB, free: 10.99 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001061/0.01076, allocations: 27.78 kB / 385.3 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.579e-05/0.01078, allocations: 8 kB / 385.3 MB, free: 10.96 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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 0.000157/0.01094, allocations: 287.7 kB / 385.6 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.293e-05/0.01103, allocations: 156.8 kB / 385.7 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.189e-05/0.01111, allocations: 164.6 kB / 385.9 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.741e-05/0.0112, allocations: 276 kB / 386.2 MB, free: 10.06 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.738e-05/0.01129, allocations: 268.1 kB / 386.4 MB, free: 9.793 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.681e-05/0.01137, allocations: 268.1 kB / 386.7 MB, free: 9.523 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002905/0.01166, allocations: 0.5155 MB / 387.2 MB, free: 8.965 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.976e-05/0.01171, allocations: 148.8 kB / 387.3 MB, free: 8.812 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.43e-05/0.01176, allocations: 148.9 kB / 387.5 MB, free: 8.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.57e-05/0.01184, allocations: 268 kB / 387.7 MB, free: 8.391 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.688e-05/0.01193, allocations: 272.1 kB / 388 MB, free: 8.117 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.015e-05/0.01201, allocations: 268.1 kB / 388.3 MB, free: 7.848 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.845e-05/0.01209, allocations: 272 kB / 388.5 MB, free: 7.574 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001777/0.01227, allocations: 451.9 kB / 389 MB, free: 7.105 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.526e-05/0.01233, allocations: 160.8 kB / 389.1 MB, free: 6.941 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.592e-05/0.01243, allocations: 268 kB / 389.4 MB, free: 6.672 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.01253, allocations: 148.9 kB / 389.5 MB, free: 6.52 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.581e-05/0.01263, allocations: 272 kB / 389.8 MB, free: 6.246 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.073e-05/0.01268, allocations: 148.8 kB / 390 MB, free: 6.094 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001087/0.01279, allocations: 159.3 kB / 390.1 MB, free: 5.938 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01279, allocations: 0 / 390.1 MB, free: 5.938 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003646/0.01315, allocations: 16 kB / 390.1 MB, free: 5.922 MB / 362.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 (0): * Single equations (assignments): 0 * 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.0007066/0.01386, allocations: 318.6 kB / 390.4 MB, free: 5.645 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001674/0.01402, allocations: 72.59 kB / 390.5 MB, free: 5.57 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.01403, allocations: 4.125 kB / 390.5 MB, free: 5.566 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.493e-06/0.01403, allocations: 0 / 390.5 MB, free: 5.566 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004606/0.01449, allocations: 0.7101 MB / 391.2 MB, free: 4.852 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003903/0.01488, allocations: 281.3 kB / 391.5 MB, free: 4.547 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.64e-05/0.01494, allocations: 67.78 kB / 391.6 MB, free: 4.457 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001333/0.01507, allocations: 49.08 kB / 391.6 MB, free: 4.41 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.185e-05/0.0151, allocations: 12.5 kB / 391.6 MB, free: 4.398 MB / 362.7 MB Notification: Performance of SimCode: time 7.72e-07/0.0151, allocations: 0 / 391.6 MB, free: 4.398 MB / 362.7 MB Notification: Performance of Templates: time 0.003854/0.01896, allocations: 0.7257 MB / 392.4 MB, free: 3.684 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test17.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test17.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test17 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test17/Test17.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.3080974887125194]