Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.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.CombiTable1D.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.CombiTable1D.Test33") translateModel(ModelicaTest.Tables.CombiTable1D.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.CombiTable1D.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001561/0.001561, allocations: 182.4 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.078/2.078, 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.00156/0.00156, allocations: 86.69 kB / 267.5 MB, free: 14.05 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.2809/0.2809, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.087e-05/3.104e-05, allocations: 4 kB / 425.3 MB, free: 23.39 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1185, allocations: 58.86 MB / 484.1 MB, free: 12.48 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4868/0.6053, allocations: 86.65 MB / 0.5574 GB, free: 0.9648 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002605/0.6057, allocations: 83.91 kB / 0.5575 GB, free: 0.9219 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01722/0.6229, allocations: 4.128 MB / 0.5615 GB, free: 13.68 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.6229, allocations: 3.938 kB / 0.5615 GB, free: 13.68 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.644e-05/0.623, allocations: 4 kB / 0.5615 GB, free: 13.68 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.0005116/0.6235, allocations: 362.6 kB / 0.5619 GB, free: 13.28 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.425e-05/0.6236, allocations: 12.03 kB / 0.5619 GB, free: 13.27 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.646e-05/0.6236, allocations: 3.906 kB / 0.5619 GB, free: 13.27 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002998/0.6239, allocations: 194.4 kB / 0.5621 GB, free: 13.04 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.624, allocations: 3.938 kB / 0.5621 GB, free: 13.04 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.696e-05/0.624, allocations: 4 kB / 0.5621 GB, free: 13.04 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001526/0.6242, allocations: 58.97 kB / 0.5621 GB, free: 12.97 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.6242, allocations: 0 / 0.5621 GB, free: 12.97 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.402e-05/0.6242, allocations: 0 / 0.5621 GB, free: 12.97 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.6242, allocations: 4 kB / 0.5621 GB, free: 12.97 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.076e-05/0.6243, allocations: 11.88 kB / 0.5622 GB, free: 12.96 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005099/0.6248, allocations: 287.7 kB / 0.5624 GB, free: 12.64 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002251/0.6251, allocations: 38.27 kB / 0.5625 GB, free: 12.6 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.115e-05/0.6251, allocations: 16.73 kB / 0.5625 GB, free: 12.59 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.233e-05/0.6252, allocations: 0 / 0.5625 GB, free: 12.59 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.149e-05/0.6252, allocations: 42.64 kB / 0.5625 GB, free: 12.54 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.542e-06/0.6252, allocations: 0 / 0.5625 GB, free: 12.54 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005316/0.6258, allocations: 112.9 kB / 0.5626 GB, free: 12.43 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.91e-05/0.6258, allocations: 81.06 kB / 0.5627 GB, free: 12.34 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001692/0.626, allocations: 125.9 kB / 0.5628 GB, free: 12.22 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.6261, allocations: 25.7 kB / 0.5629 GB, free: 12.19 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.245e-05/0.6262, allocations: 162.4 kB / 0.563 GB, free: 12.03 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.983e-05/0.6262, allocations: 15.69 kB / 0.563 GB, free: 12.02 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.841e-06/0.6262, allocations: 4 kB / 0.563 GB, free: 12.02 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.6264, allocations: 314.8 kB / 0.5633 GB, free: 11.7 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.854e-05/0.6264, allocations: 11.8 kB / 0.5633 GB, free: 11.69 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.677e-05/0.6265, allocations: 29.47 kB / 0.5634 GB, free: 11.66 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.095e-05/0.6266, allocations: 19.73 kB / 0.5634 GB, free: 11.65 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.6266, allocations: 0 / 0.5634 GB, free: 11.65 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001618/0.6268, allocations: 64.69 kB / 0.5634 GB, free: 11.59 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.6268, allocations: 7.938 kB / 0.5635 GB, free: 11.58 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.6268, allocations: 4.031 kB / 0.5635 GB, free: 11.58 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.6268, allocations: 4 kB / 0.5635 GB, free: 11.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001463/0.627, allocations: 12 kB / 0.5635 GB, free: 11.56 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.627, allocations: 0 / 0.5635 GB, free: 11.56 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000113/0.6272, allocations: 11.94 kB / 0.5635 GB, free: 11.55 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.6272, allocations: 0 / 0.5635 GB, free: 11.55 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 0.000102/0.6273, allocations: 110.4 kB / 0.5636 GB, free: 11.44 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.35e-05/0.6273, allocations: 11.91 kB / 0.5636 GB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002348/0.6276, allocations: 77.34 kB / 0.5637 GB, free: 11.36 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/0.6276, allocations: 3.984 kB / 0.5637 GB, free: 11.35 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.6276, allocations: 0 / 0.5637 GB, free: 11.35 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.6276, allocations: 0 / 0.5637 GB, free: 11.35 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004922/0.6281, allocations: 348.6 kB / 0.564 GB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.6282, allocations: 4 kB / 0.564 GB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001159/0.6283, allocations: 11.98 kB / 0.564 GB, free: 10.97 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.792e-06/0.6283, allocations: 8 kB / 0.564 GB, free: 10.96 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.6283, allocations: 0 / 0.564 GB, free: 10.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.6283, allocations: 0 / 0.564 GB, free: 10.96 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.773e-06/0.6284, allocations: 7.938 kB / 0.564 GB, free: 10.95 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001992/0.6286, allocations: 154.2 kB / 0.5642 GB, free: 10.8 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.008e-05/0.6287, allocations: 92.94 kB / 0.5643 GB, free: 10.69 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.013e-05/0.6287, allocations: 256 / 0.5643 GB, free: 10.69 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001186/0.6288, allocations: 12 kB / 0.5643 GB, free: 10.68 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.312e-05/0.6289, allocations: 7.984 kB / 0.5643 GB, free: 10.67 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.215e-05/0.6289, allocations: 3.953 kB / 0.5643 GB, free: 10.67 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000115/0.6291, allocations: 111 kB / 0.5644 GB, free: 10.57 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6291, allocations: 3.938 kB / 0.5644 GB, free: 10.57 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003463/0.6294, allocations: 27.86 kB / 0.5644 GB, free: 10.54 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.001182/0.6306, allocations: 396.6 kB / 0.5648 GB, free: 10.21 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001918/0.6308, allocations: 35.38 kB / 0.5648 GB, free: 10.18 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.6309, allocations: 0 / 0.5648 GB, free: 10.18 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.055e-05/0.6309, allocations: 23.67 kB / 0.5649 GB, free: 10.16 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003034/0.6313, allocations: 18.31 kB / 0.5649 GB, free: 10.15 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004055/0.6317, allocations: 130 kB / 0.565 GB, free: 10 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003145/0.632, allocations: 0.7004 MB / 0.5657 GB, free: 9.277 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.685e-05/0.6321, allocations: 15.42 kB / 0.5657 GB, free: 9.262 MB / 378.7 MB Notification: Performance of SimCode: time 1.152e-06/0.6321, allocations: 0 / 0.5657 GB, free: 9.262 MB / 378.7 MB Notification: Performance of Templates: time 0.005068/0.6372, allocations: 1.607 MB / 0.5673 GB, free: 7.66 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test33.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test33.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test33.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test33.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test33.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test33 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test33_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test33/Test33.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches