Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test16.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.000941/0.000941, allocations: 80.31 kB / 22.21 MB, free: 2.289 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.000996/0.000996, allocations: 166.5 kB / 25.61 MB, free: 8.492 MB / 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 0.899/0.899, allocations: 177.1 MB / 206 MB, free: 4.508 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.1288/0.1288, allocations: 34.26 MB / 296.9 MB, free: 13.94 MB / 282.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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test16") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 379.3 MB, free: 23.42 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.321e-05/1.488e-05, allocations: 9.625 kB / 379.3 MB, free: 23.41 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test16): time 0.005109/0.005124, allocations: 1.678 MB / 381 MB, free: 21.71 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005413/0.005665, allocations: 0.8104 MB / 381.8 MB, free: 20.9 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.269e-05/0.005698, allocations: 3.938 kB / 381.8 MB, free: 20.9 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001947/0.005892, allocations: 23.89 kB / 381.8 MB, free: 20.88 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000158/0.006051, allocations: 51.7 kB / 381.9 MB, free: 20.82 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.715e-06/0.006053, allocations: 0 / 381.9 MB, free: 20.82 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001056/0.006159, allocations: 31.84 kB / 381.9 MB, free: 20.79 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.999e-05/0.006189, allocations: 3.938 kB / 381.9 MB, free: 20.79 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.582e-05/0.006255, allocations: 15.98 kB / 381.9 MB, free: 20.77 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.129e-05/0.006276, allocations: 19.91 kB / 381.9 MB, free: 20.75 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 7.634e-06/0.006284, allocations: 4 kB / 381.9 MB, free: 20.75 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.461e-05/0.006318, allocations: 8 kB / 381.9 MB, free: 20.74 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.392e-05/0.006352, allocations: 19.92 kB / 382 MB, free: 20.72 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.382e-05/0.006366, allocations: 7.938 kB / 382 MB, free: 20.71 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 9.063e-05/0.006457, allocations: 51.77 kB / 382 MB, free: 20.66 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.814e-06/0.006458, allocations: 0 / 382 MB, free: 20.66 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.006459, allocations: 0 / 382 MB, free: 20.66 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.016e-06/0.006462, allocations: 0 / 382 MB, free: 20.66 MB / 314.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.0001991/0.006661, allocations: 400.3 kB / 382.4 MB, free: 20.23 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.067e-05/0.006692, allocations: 12.03 kB / 382.4 MB, free: 20.22 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.552e-05/0.006717, allocations: 4.891 kB / 382.4 MB, free: 20.22 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.37e-05/0.006801, allocations: 124.5 kB / 382.6 MB, free: 20.07 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.774e-06/0.006809, allocations: 4.375 kB / 382.6 MB, free: 20.07 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.713e-06/0.006815, allocations: 12.28 kB / 382.6 MB, free: 20.05 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.247e-05/0.006898, allocations: 110.2 kB / 382.7 MB, free: 19.92 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.702e-06/0.006905, allocations: 192 / 382.7 MB, free: 19.92 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.631e-06/0.00691, allocations: 384 / 382.7 MB, free: 19.92 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.595e-05/0.006946, allocations: 28.3 kB / 382.7 MB, free: 19.89 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.813e-05/0.006974, allocations: 23.86 kB / 382.7 MB, free: 19.87 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002768/0.007251, allocations: 1.181 MB / 383.9 MB, free: 18.63 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.688e-05/0.007288, allocations: 261.4 kB / 384.2 MB, free: 18.36 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.237e-05/0.0073, allocations: 130.9 kB / 384.3 MB, free: 18.23 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.458e-06/0.00731, allocations: 123.2 kB / 384.4 MB, free: 18.11 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.213e-05/0.007332, allocations: 164.6 kB / 384.6 MB, free: 17.94 MB / 314.7 MB Notification: Performance of pre-optimization done (n=0): time 6.31e-07/0.007333, allocations: 0 / 384.6 MB, free: 17.94 MB / 314.7 MB Notification: Performance of matching and sorting (n=0): time 4.53e-05/0.007378, allocations: 37.64 kB / 384.6 MB, free: 17.89 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.506e-05/0.007403, allocations: 174.5 kB / 384.8 MB, free: 17.71 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.007508, allocations: 242.3 kB / 385 MB, free: 17.46 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.437e-06/0.007511, allocations: 25.7 kB / 385 MB, free: 17.43 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.112e-05/0.007562, allocations: 202.3 kB / 385.2 MB, free: 17.22 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.434e-06/0.007565, allocations: 0 / 385.2 MB, free: 17.22 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003048/0.01061, allocations: 55.3 kB / 385.3 MB, free: 17.16 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.326e-05/0.01066, allocations: 0.4962 MB / 385.8 MB, free: 16.65 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.471e-05/0.01067, allocations: 11.98 kB / 385.8 MB, free: 16.64 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.633e-05/0.01073, allocations: 205.6 kB / 386 MB, free: 16.36 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001006/0.01083, allocations: 221.5 kB / 386.2 MB, free: 16.05 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.01083, allocations: 4 kB / 386.2 MB, free: 16.05 MB / 314.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001713/0.011, allocations: 157.7 kB / 386.4 MB, free: 15.89 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.031e-05/0.01101, allocations: 4.062 kB / 386.4 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.01102, allocations: 8 kB / 386.4 MB, free: 15.88 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.01103, allocations: 8 kB / 386.4 MB, free: 15.87 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.584e-05/0.01111, allocations: 43.91 kB / 386.4 MB, free: 15.83 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.01112, allocations: 15.88 kB / 386.5 MB, free: 15.81 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.826e-05/0.01119, allocations: 27.78 kB / 386.5 MB, free: 15.79 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.0112, allocations: 8 kB / 386.5 MB, free: 15.78 MB / 314.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 4.504e-05/0.01124, allocations: 291.6 kB / 386.8 MB, free: 15.48 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.106e-05/0.01127, allocations: 152.8 kB / 386.9 MB, free: 15.32 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.582e-05/0.0113, allocations: 164.6 kB / 387.1 MB, free: 15.16 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.702e-05/0.01132, allocations: 272.1 kB / 387.4 MB, free: 14.88 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.83e-05/0.01133, allocations: 272 kB / 387.6 MB, free: 14.61 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.731e-05/0.01135, allocations: 264.2 kB / 387.9 MB, free: 14.34 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001151/0.01147, allocations: 0.4888 MB / 388.4 MB, free: 13.82 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.078e-05/0.01148, allocations: 148.8 kB / 388.5 MB, free: 13.67 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.167e-05/0.01149, allocations: 152.9 kB / 388.7 MB, free: 13.51 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.898e-05/0.01151, allocations: 268 kB / 388.9 MB, free: 13.24 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.07e-05/0.01153, allocations: 264.1 kB / 389.2 MB, free: 12.98 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.849e-05/0.01155, allocations: 272.1 kB / 389.4 MB, free: 12.7 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.987e-05/0.01157, allocations: 272 kB / 389.7 MB, free: 12.43 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.264e-05/0.01162, allocations: 455.8 kB / 390.2 MB, free: 11.96 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.976e-05/0.01164, allocations: 164.8 kB / 390.3 MB, free: 11.79 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.61e-05/0.01167, allocations: 268 kB / 390.6 MB, free: 11.52 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.084e-05/0.01172, allocations: 144.9 kB / 390.7 MB, free: 11.37 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.227e-05/0.01174, allocations: 276.1 kB / 391 MB, free: 11.09 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.849e-06/0.01175, allocations: 148.8 kB / 391.1 MB, free: 10.94 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.467e-05/0.01179, allocations: 157.3 kB / 391.3 MB, free: 10.79 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01179, allocations: 0 / 391.3 MB, free: 10.79 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002572/0.01205, allocations: 15.94 kB / 391.3 MB, free: 10.77 MB / 314.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.0003593/0.01241, allocations: 303.6 kB / 391.6 MB, free: 10.52 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.264e-05/0.0125, allocations: 79.7 kB / 391.7 MB, free: 10.43 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.0125, allocations: 0 / 391.7 MB, free: 10.43 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.162e-06/0.0125, allocations: 0 / 391.7 MB, free: 10.43 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002326/0.01274, allocations: 0.7062 MB / 392.4 MB, free: 9.723 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001799/0.01292, allocations: 281.2 kB / 392.7 MB, free: 9.418 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.57e-05/0.01294, allocations: 68.83 kB / 392.7 MB, free: 9.332 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.282e-05/0.013, allocations: 21.08 kB / 392.7 MB, free: 9.312 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.8e-05/0.01302, allocations: 78.2 kB / 392.8 MB, free: 9.234 MB / 314.7 MB Notification: Performance of SimCode: time 4.21e-07/0.01302, allocations: 0 / 392.8 MB, free: 9.234 MB / 314.7 MB Notification: Performance of Templates: time 0.005157/0.01818, allocations: 0.7816 MB / 393.6 MB, free: 8.469 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test16.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test16.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test16 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test16/Test16.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: 2.963801067788154]