Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test3.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.CombiTable2D.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test3") translateModel(ModelicaTest.Tables.CombiTable2D.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003697/0.003697, allocations: 181.7 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.17/2.17, allocations: 205.2 MB / 219.4 MB, free: 14.29 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.001074/0.001073, allocations: 90.64 kB / 267.5 MB, free: 14.11 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.2734/0.2734, allocations: 43.5 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.645e-05/3.657e-05, allocations: 4 kB / 425.3 MB, free: 23.39 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.1141, allocations: 58.85 MB / 484.1 MB, free: 12.49 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4725/0.5866, allocations: 86.75 MB / 0.5575 GB, free: 0.8711 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002333/0.5869, allocations: 80.36 kB / 0.5576 GB, free: 0.832 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02908/0.616, allocations: 8.009 MB / 0.5654 GB, free: 9.684 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.6161, allocations: 3.609 kB / 0.5654 GB, free: 9.684 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.034e-05/0.6161, allocations: 8 kB / 0.5654 GB, free: 9.676 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007153/0.6168, allocations: 0.5551 MB / 0.566 GB, free: 9.094 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.6169, allocations: 12.03 kB / 0.566 GB, free: 9.082 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001049/0.617, allocations: 47.39 kB / 0.566 GB, free: 9.035 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000648/0.6177, allocations: 326.6 kB / 0.5663 GB, free: 8.691 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.6177, allocations: 0 / 0.5663 GB, free: 8.691 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.721e-05/0.6177, allocations: 4 kB / 0.5663 GB, free: 8.688 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001314/0.6179, allocations: 50.19 kB / 0.5664 GB, free: 8.641 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.6179, allocations: 3.938 kB / 0.5664 GB, free: 8.637 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/0.6179, allocations: 4 kB / 0.5664 GB, free: 8.633 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.6179, allocations: 0 / 0.5664 GB, free: 8.633 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.926e-05/0.618, allocations: 19.89 kB / 0.5664 GB, free: 8.617 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007434/0.6188, allocations: 436 kB / 0.5668 GB, free: 8.199 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.767e-05/0.6189, allocations: 39.94 kB / 0.5669 GB, free: 8.156 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.124e-05/0.619, allocations: 12.23 kB / 0.5669 GB, free: 8.145 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.74e-05/0.619, allocations: 4 kB / 0.5669 GB, free: 8.141 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.763e-05/0.619, allocations: 38.52 kB / 0.5669 GB, free: 8.094 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.623e-06/0.619, allocations: 0 / 0.5669 GB, free: 8.094 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007067/0.6198, allocations: 217.4 kB / 0.5671 GB, free: 7.895 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.823e-05/0.6198, allocations: 55.41 kB / 0.5672 GB, free: 7.828 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0018/0.6216, allocations: 0.7751 MB / 0.5679 GB, free: 7.223 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.148e-05/0.6217, allocations: 25.7 kB / 0.568 GB, free: 7.191 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001861/0.6219, allocations: 240.9 kB / 0.5682 GB, free: 7.027 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.661e-05/0.6219, allocations: 23.27 kB / 0.5682 GB, free: 7.008 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.642e-06/0.6219, allocations: 0 / 0.5682 GB, free: 7.008 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.6221, allocations: 310.8 kB / 0.5685 GB, free: 6.695 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.927e-05/0.6221, allocations: 22.5 kB / 0.5685 GB, free: 6.68 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.783e-05/0.6222, allocations: 15.44 kB / 0.5685 GB, free: 6.668 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.344e-05/0.6223, allocations: 14.92 kB / 0.5686 GB, free: 6.66 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.6223, allocations: 0 / 0.5686 GB, free: 6.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001766/0.6225, allocations: 74.23 kB / 0.5686 GB, free: 6.594 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.6225, allocations: 11.95 kB / 0.5686 GB, free: 6.582 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.6225, allocations: 8 kB / 0.5686 GB, free: 6.574 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.6225, allocations: 0 / 0.5686 GB, free: 6.574 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002061/0.6228, allocations: 23.98 kB / 0.5687 GB, free: 6.551 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.6228, allocations: 3.984 kB / 0.5687 GB, free: 6.547 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001611/0.623, allocations: 8 kB / 0.5687 GB, free: 6.539 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.341e-05/0.623, allocations: 4 kB / 0.5687 GB, free: 6.535 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 (7): * Single equations (assignments): 7 * 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 7.335e-05/0.6231, allocations: 112.7 kB / 0.5688 GB, free: 6.422 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001156/0.6232, allocations: 43.44 kB / 0.5688 GB, free: 6.379 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002995/0.6235, allocations: 139.3 kB / 0.569 GB, free: 6.262 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.6235, allocations: 3.984 kB / 0.569 GB, free: 6.258 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.6235, allocations: 0 / 0.569 GB, free: 6.258 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.6235, allocations: 0 / 0.569 GB, free: 6.258 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001088/0.6246, allocations: 0.584 MB / 0.5695 GB, free: 5.699 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.6247, allocations: 7.953 kB / 0.5695 GB, free: 5.691 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001975/0.6249, allocations: 31.23 kB / 0.5696 GB, free: 5.664 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.459e-06/0.6249, allocations: 0 / 0.5696 GB, free: 5.664 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.6249, allocations: 0 / 0.5696 GB, free: 5.664 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.6249, allocations: 0 / 0.5696 GB, free: 5.664 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.6249, allocations: 7.938 kB / 0.5696 GB, free: 5.656 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000289/0.6252, allocations: 200.5 kB / 0.5698 GB, free: 5.457 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002838/0.6255, allocations: 170.5 kB / 0.5699 GB, free: 5.281 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.048e-05/0.6256, allocations: 0 / 0.5699 GB, free: 5.281 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002031/0.6258, allocations: 19.11 kB / 0.57 GB, free: 5.266 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.702e-05/0.6259, allocations: 7.984 kB / 0.57 GB, free: 5.258 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.787e-06/0.6259, allocations: 0 / 0.57 GB, free: 5.258 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00108/0.627, allocations: 0.6326 MB / 0.5706 GB, free: 4.801 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.627, allocations: 0 / 0.5706 GB, free: 4.801 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004191/0.6274, allocations: 55.06 kB / 0.5706 GB, free: 4.75 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 (7): * Single equations (assignments): 7 * 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.001058/0.6285, allocations: 373.6 kB / 0.571 GB, free: 4.438 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001851/0.6287, allocations: 38.5 kB / 0.571 GB, free: 4.41 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.6287, allocations: 3.938 kB / 0.571 GB, free: 4.406 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.379e-05/0.6288, allocations: 27.44 kB / 0.5711 GB, free: 4.387 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003682/0.6292, allocations: 30.73 kB / 0.5711 GB, free: 4.371 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00166/0.6309, allocations: 0.756 MB / 0.5718 GB, free: 3.668 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005078/0.6314, allocations: 0.8345 MB / 0.5726 GB, free: 2.824 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001281/0.6315, allocations: 23.69 kB / 0.5727 GB, free: 2.801 MB / 378.7 MB Notification: Performance of SimCode: time 1.182e-06/0.6316, allocations: 0 / 0.5727 GB, free: 2.801 MB / 378.7 MB Notification: Performance of Templates: time 0.01209/0.6436, allocations: 4.348 MB / 0.5769 GB, free: 14.46 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test3.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test3.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test3.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test3.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test3 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test3/Test3.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches