Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test26.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.0009674/0.0009674, 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.001205/0.001205, 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 0.9805/0.9805, 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.2712/0.2712, allocations: 34.26 MB / 295.7 MB, free: 0.7539 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.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|d2_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test26") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|d2_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test26") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 378.1 MB, free: 2.629 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.69e-05/2.864e-05, allocations: 2.312 kB / 378.1 MB, free: 2.625 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test26): time 0.002426/0.002454, allocations: 1.72 MB / 379.8 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007564/0.003211, allocations: 0.5491 MB / 380.3 MB, free: 344 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.026e-05/0.003261, allocations: 4 kB / 380.3 MB, free: 340 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002571/0.003518, allocations: 47.8 kB / 380.4 MB, free: 292 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002835/0.003802, allocations: 107.5 kB / 380.5 MB, free: 184 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002285/0.00403, allocations: 131.5 kB / 380.6 MB, free: 52 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001579/0.004188, allocations: 91.69 kB / 380.7 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.0043, allocations: 12.22 kB / 380.7 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.172e-05/0.004372, allocations: 43.89 kB / 380.8 MB, free: 15.9 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.009e-05/0.004462, allocations: 39.88 kB / 380.8 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.572e-05/0.004478, allocations: 8 kB / 380.8 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.843e-05/0.004566, allocations: 51.92 kB / 380.9 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.293e-05/0.004639, allocations: 23.92 kB / 380.9 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.706e-05/0.004666, allocations: 15.92 kB / 380.9 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001831/0.00485, allocations: 99.59 kB / 381 MB, free: 15.67 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.004853, allocations: 0 / 381 MB, free: 15.67 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.004855, allocations: 0 / 381 MB, free: 15.67 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.00486, allocations: 0 / 381 MB, free: 15.67 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000453/0.005313, allocations: 439.9 kB / 381.4 MB, free: 15.2 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.005356, allocations: 12.03 kB / 381.4 MB, free: 15.19 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.764e-05/0.005404, allocations: 8.891 kB / 381.4 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001607/0.005564, allocations: 151.4 kB / 381.6 MB, free: 15.01 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.005576, allocations: 8.375 kB / 381.6 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.599e-05/0.005602, allocations: 4.375 kB / 381.6 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000152/0.005754, allocations: 62.94 kB / 381.7 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.005765, allocations: 192 / 381.7 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.005776, allocations: 4.125 kB / 381.7 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.005785, allocations: 4 kB / 381.7 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.269e-05/0.005828, allocations: 15.98 kB / 381.7 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003594/0.006187, allocations: 299.6 kB / 382 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001942/0.006381, allocations: 58.98 kB / 382 MB, free: 14.51 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.745e-05/0.006409, allocations: 15.91 kB / 382.1 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.329e-05/0.006432, allocations: 7.875 kB / 382.1 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.357e-05/0.006456, allocations: 37.39 kB / 382.1 MB, free: 14.43 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.754e-06/0.006457, allocations: 0 / 382.1 MB, free: 14.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006646/0.007122, allocations: 241.6 kB / 382.3 MB, free: 14.19 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.392e-05/0.007156, allocations: 63.41 kB / 382.4 MB, free: 14.12 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001421/0.007298, allocations: 218.5 kB / 382.6 MB, free: 13.89 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.108e-05/0.007309, allocations: 25.7 kB / 382.6 MB, free: 13.86 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.474e-05/0.007374, allocations: 154.8 kB / 382.8 MB, free: 13.7 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.28e-05/0.007407, allocations: 35.69 kB / 382.8 MB, free: 13.66 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.661e-05/0.007443, allocations: 31.36 kB / 382.9 MB, free: 13.62 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.007572, allocations: 0.5 MB / 383.4 MB, free: 13.11 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.113e-05/0.007603, allocations: 11.94 kB / 383.4 MB, free: 13.1 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.636e-05/0.007639, allocations: 19.98 kB / 383.4 MB, free: 13.08 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.381e-05/0.007713, allocations: 43.95 kB / 383.4 MB, free: 13.04 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.007714, allocations: 0 / 383.4 MB, free: 13.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001227/0.007837, allocations: 105.5 kB / 383.5 MB, free: 12.93 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.007853, allocations: 4 kB / 383.5 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.007859, allocations: 0 / 383.5 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/0.007877, allocations: 0 / 383.5 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.906e-05/0.007956, allocations: 27.92 kB / 383.6 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.007962, allocations: 0 / 383.6 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.835e-05/0.00799, allocations: 8 kB / 383.6 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/0.008, allocations: 7.984 kB / 383.6 MB, free: 12.88 MB / 362.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 (11): * Single equations (assignments): 11 * 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 7.656e-05/0.008076, allocations: 160.5 kB / 383.7 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.424e-05/0.0081, allocations: 15.95 kB / 383.8 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001852/0.008286, allocations: 110.3 kB / 383.9 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.008289, allocations: 4 kB / 383.9 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.008294, allocations: 0 / 383.9 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.008299, allocations: 3.984 kB / 383.9 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003993/0.008698, allocations: 412.6 kB / 384.3 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.008701, allocations: 0 / 384.3 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.631e-05/0.008768, allocations: 27.92 kB / 384.3 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.008771, allocations: 4 kB / 384.3 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.008779, allocations: 4.062 kB / 384.3 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.339e-06/0.008783, allocations: 8.125 kB / 384.3 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.008786, allocations: 4 kB / 384.3 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001583/0.008944, allocations: 263.1 kB / 384.6 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.71e-05/0.008991, allocations: 7.953 kB / 384.6 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.696e-05/0.009008, allocations: 4 kB / 384.6 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.699e-05/0.009055, allocations: 11.92 kB / 384.6 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.978e-05/0.009095, allocations: 7.984 kB / 384.6 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.073e-06/0.009102, allocations: 8 kB / 384.6 MB, free: 11.75 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.02e-05/0.009182, allocations: 168 kB / 384.8 MB, free: 11.58 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009182, allocations: 4 kB / 384.8 MB, free: 11.58 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001815/0.009364, allocations: 23.94 kB / 384.8 MB, free: 11.55 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.0009774/0.01034, allocations: 427.9 kB / 385.2 MB, free: 11.3 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001531/0.01049, allocations: 63.53 kB / 385.3 MB, free: 11.23 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.0105, allocations: 0 / 385.3 MB, free: 11.23 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.594e-05/0.01054, allocations: 39.61 kB / 385.3 MB, free: 11.19 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002475/0.01079, allocations: 28.14 kB / 385.4 MB, free: 11.16 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004278/0.01122, allocations: 266.1 kB / 385.6 MB, free: 10.86 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001202/0.01134, allocations: 71.33 kB / 385.7 MB, free: 10.77 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.314e-05/0.01138, allocations: 12.48 kB / 385.7 MB, free: 10.76 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.942e-05/0.01142, allocations: 20.5 kB / 385.7 MB, free: 10.74 MB / 362.7 MB Notification: Performance of SimCode: time 1.122e-06/0.01142, allocations: 0 / 385.7 MB, free: 10.74 MB / 362.7 MB Notification: Performance of Templates: time 0.003936/0.01536, allocations: 1.585 MB / 387.3 MB, free: 9.172 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test26.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test26.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test26 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test26/Test26.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.2855987288057804]