Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test33.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test33") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001573/0.001573, allocations: 182.2 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.047/2.047, allocations: 205.2 MB / 219.4 MB, free: 14.21 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001073/0.001072, allocations: 98.62 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2733/0.2733, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.324e-05/3.348e-05, allocations: 4 kB / 425.3 MB, free: 23.36 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1192, allocations: 58.86 MB / 484.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4766/0.5959, allocations: 86.54 MB / 0.5573 GB, free: 1.051 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002529/0.5962, allocations: 80.31 kB / 0.5574 GB, free: 1.008 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01744/0.6136, allocations: 4.122 MB / 0.5614 GB, free: 13.77 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.764e-06/0.6137, allocations: 0 / 0.5614 GB, free: 13.77 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.666e-05/0.6137, allocations: 4 kB / 0.5614 GB, free: 13.77 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004771/0.6142, allocations: 366 kB / 0.5618 GB, free: 13.37 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/0.6143, allocations: 12.03 kB / 0.5618 GB, free: 13.36 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.726e-05/0.6143, allocations: 7.906 kB / 0.5618 GB, free: 13.35 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002943/0.6146, allocations: 186.4 kB / 0.562 GB, free: 13.13 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.6147, allocations: 3.438 kB / 0.562 GB, free: 13.13 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.613e-05/0.6147, allocations: 4 kB / 0.562 GB, free: 13.13 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001642/0.6149, allocations: 58.28 kB / 0.562 GB, free: 13.07 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.6149, allocations: 4 kB / 0.562 GB, free: 13.06 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.6149, allocations: 0 / 0.562 GB, free: 13.06 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.6149, allocations: 0 / 0.562 GB, free: 13.06 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.479e-05/0.615, allocations: 15.62 kB / 0.562 GB, free: 13.05 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004797/0.6155, allocations: 271 kB / 0.5623 GB, free: 12.75 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00022/0.6157, allocations: 45.88 kB / 0.5623 GB, free: 12.7 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.332e-05/0.6158, allocations: 20.8 kB / 0.5624 GB, free: 12.68 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.129e-05/0.6158, allocations: 0 / 0.5624 GB, free: 12.68 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.823e-05/0.6159, allocations: 30.56 kB / 0.5624 GB, free: 12.64 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.914e-06/0.6159, allocations: 0 / 0.5624 GB, free: 12.64 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005273/0.6164, allocations: 103.5 kB / 0.5625 GB, free: 12.55 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.174e-05/0.6165, allocations: 85.05 kB / 0.5626 GB, free: 12.45 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001899/0.6167, allocations: 128.8 kB / 0.5627 GB, free: 12.32 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.704e-05/0.6168, allocations: 29.69 kB / 0.5627 GB, free: 12.29 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.761e-05/0.6169, allocations: 161.7 kB / 0.5629 GB, free: 12.14 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.018e-05/0.6169, allocations: 19.73 kB / 0.5629 GB, free: 12.12 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.51e-06/0.6169, allocations: 0 / 0.5629 GB, free: 12.12 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.6171, allocations: 314.2 kB / 0.5632 GB, free: 11.8 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.578e-05/0.6171, allocations: 7.188 kB / 0.5632 GB, free: 11.8 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.098e-05/0.6172, allocations: 21.03 kB / 0.5632 GB, free: 11.78 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.934e-05/0.6172, allocations: 19.7 kB / 0.5632 GB, free: 11.76 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.6172, allocations: 0 / 0.5632 GB, free: 11.76 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001565/0.6174, allocations: 64.44 kB / 0.5633 GB, free: 11.7 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.6174, allocations: 4 kB / 0.5633 GB, free: 11.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.6175, allocations: 0 / 0.5633 GB, free: 11.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.6175, allocations: 0 / 0.5633 GB, free: 11.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001425/0.6176, allocations: 15.5 kB / 0.5633 GB, free: 11.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.6176, allocations: 0 / 0.5633 GB, free: 11.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.842e-05/0.6177, allocations: 11.94 kB / 0.5633 GB, free: 11.67 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.169e-05/0.6178, allocations: 8 kB / 0.5633 GB, free: 11.66 MB / 378.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.152e-05/0.6179, allocations: 101 kB / 0.5634 GB, free: 11.56 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.317e-05/0.6179, allocations: 7.906 kB / 0.5634 GB, free: 11.55 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002162/0.6181, allocations: 77.41 kB / 0.5635 GB, free: 11.48 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.6182, allocations: 3.984 kB / 0.5635 GB, free: 11.48 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.6182, allocations: 0 / 0.5635 GB, free: 11.48 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.778e-06/0.6182, allocations: 4 kB / 0.5635 GB, free: 11.47 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004672/0.6187, allocations: 329.5 kB / 0.5638 GB, free: 11.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/0.6187, allocations: 0 / 0.5638 GB, free: 11.12 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001209/0.6188, allocations: 19.92 kB / 0.5639 GB, free: 11.1 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.6188, allocations: 0 / 0.5639 GB, free: 11.1 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.909e-06/0.6189, allocations: 0 / 0.5639 GB, free: 11.1 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/0.6189, allocations: 0 / 0.5639 GB, free: 11.1 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-06/0.6189, allocations: 3.953 kB / 0.5639 GB, free: 11.09 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001944/0.6191, allocations: 158.6 kB / 0.564 GB, free: 10.93 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.936e-05/0.6192, allocations: 83.52 kB / 0.5641 GB, free: 10.84 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.39e-05/0.6192, allocations: 4 kB / 0.5641 GB, free: 10.83 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001152/0.6193, allocations: 12.05 kB / 0.5641 GB, free: 10.82 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.45e-05/0.6194, allocations: 0 / 0.5641 GB, free: 10.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.32e-05/0.6194, allocations: 15.89 kB / 0.5641 GB, free: 10.81 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001122/0.6195, allocations: 108.6 kB / 0.5642 GB, free: 10.71 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6196, allocations: 3.938 kB / 0.5642 GB, free: 10.71 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003518/0.6199, allocations: 23.06 kB / 0.5642 GB, free: 10.69 MB / 378.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001195/0.6211, allocations: 401 kB / 0.5646 GB, free: 10.35 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000164/0.6213, allocations: 29.69 kB / 0.5647 GB, free: 10.33 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.6213, allocations: 0 / 0.5647 GB, free: 10.33 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.105e-05/0.6214, allocations: 15.06 kB / 0.5647 GB, free: 10.32 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003005/0.6217, allocations: 26.8 kB / 0.5647 GB, free: 10.3 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003908/0.6221, allocations: 119.9 kB / 0.5648 GB, free: 10.16 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003212/0.6224, allocations: 0.6965 MB / 0.5655 GB, free: 9.434 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.242e-05/0.6225, allocations: 18.5 kB / 0.5655 GB, free: 9.418 MB / 378.7 MB Notification: Performance of SimCode: time 1.032e-06/0.6225, allocations: 0 / 0.5655 GB, free: 9.418 MB / 378.7 MB Notification: Performance of Templates: time 0.004956/0.6275, allocations: 1.573 MB / 0.567 GB, free: 7.852 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test33.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test33.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test33 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test33_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test33/Test33.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches