Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21.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.Test21,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.Test21") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test21,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.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002467/0.002467, allocations: 180.9 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.196/2.196, 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.001733/0.001733, allocations: 94.58 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.2818/0.2818, allocations: 43.48 MB / 359.1 MB, free: 12.26 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.155e-05/3.165e-05, allocations: 4 kB / 425.3 MB, free: 23.39 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1245, allocations: 58.85 MB / 484.1 MB, free: 12.49 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5735/0.698, allocations: 86.53 MB / 0.5573 GB, free: 1.098 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002529/0.6983, allocations: 77.36 kB / 0.5574 GB, free: 1.059 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01702/0.7153, allocations: 4.122 MB / 0.5614 GB, free: 13.82 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.7154, allocations: 3.938 kB / 0.5614 GB, free: 13.82 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.284e-05/0.7154, allocations: 0 / 0.5614 GB, free: 13.82 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.000441/0.7159, allocations: 362 kB / 0.5617 GB, free: 13.43 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.464e-05/0.7159, allocations: 16.03 kB / 0.5618 GB, free: 13.41 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.358e-05/0.716, allocations: 3.906 kB / 0.5618 GB, free: 13.41 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002783/0.7163, allocations: 194.5 kB / 0.562 GB, free: 13.18 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.13e-05/0.7163, allocations: 0 / 0.562 GB, free: 13.18 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.472e-05/0.7163, allocations: 3.984 kB / 0.562 GB, free: 13.18 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001529/0.7165, allocations: 62.78 kB / 0.562 GB, free: 13.11 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.7165, allocations: 0 / 0.562 GB, free: 13.11 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/0.7166, allocations: 3.938 kB / 0.562 GB, free: 13.11 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.7166, allocations: 0 / 0.562 GB, free: 13.11 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.427e-05/0.7166, allocations: 15.69 kB / 0.562 GB, free: 13.09 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004627/0.7171, allocations: 279 kB / 0.5623 GB, free: 12.79 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002252/0.7174, allocations: 38.12 kB / 0.5623 GB, free: 12.75 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.887e-05/0.7174, allocations: 16.55 kB / 0.5624 GB, free: 12.73 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.294e-05/0.7175, allocations: 4 kB / 0.5624 GB, free: 12.73 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.304e-05/0.7175, allocations: 34.56 kB / 0.5624 GB, free: 12.68 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.924e-06/0.7175, allocations: 0 / 0.5624 GB, free: 12.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.000518/0.718, allocations: 100.4 kB / 0.5625 GB, free: 12.59 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.22e-05/0.7181, allocations: 88.61 kB / 0.5626 GB, free: 12.49 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001657/0.7183, allocations: 121.5 kB / 0.5627 GB, free: 12.37 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.862e-05/0.7183, allocations: 29.39 kB / 0.5627 GB, free: 12.34 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.521e-05/0.7184, allocations: 166.1 kB / 0.5629 GB, free: 12.18 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.691e-05/0.7185, allocations: 11.75 kB / 0.5629 GB, free: 12.17 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.052e-06/0.7185, allocations: 3.688 kB / 0.5629 GB, free: 12.17 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001162/0.7186, allocations: 314.8 kB / 0.5632 GB, free: 11.85 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.609e-05/0.7187, allocations: 7.562 kB / 0.5632 GB, free: 11.85 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.695e-05/0.7187, allocations: 25.33 kB / 0.5632 GB, free: 11.82 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.731e-05/0.7188, allocations: 15.62 kB / 0.5632 GB, free: 11.81 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.7188, allocations: 0 / 0.5632 GB, free: 11.81 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001458/0.719, allocations: 57.28 kB / 0.5633 GB, free: 11.75 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.719, allocations: 8 kB / 0.5633 GB, free: 11.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.719, allocations: 0 / 0.5633 GB, free: 11.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.719, allocations: 0 / 0.5633 GB, free: 11.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001464/0.7192, allocations: 16 kB / 0.5633 GB, free: 11.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.7192, allocations: 0 / 0.5633 GB, free: 11.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.642e-05/0.7193, allocations: 15.44 kB / 0.5633 GB, free: 11.72 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.243e-05/0.7193, allocations: 4 kB / 0.5633 GB, free: 11.71 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 7.817e-05/0.7194, allocations: 105 kB / 0.5634 GB, free: 11.61 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.493e-05/0.7195, allocations: 7.906 kB / 0.5634 GB, free: 11.6 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002157/0.7197, allocations: 76.08 kB / 0.5635 GB, free: 11.53 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.7197, allocations: 0 / 0.5635 GB, free: 11.53 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.7197, allocations: 0 / 0.5635 GB, free: 11.53 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.7197, allocations: 0 / 0.5635 GB, free: 11.53 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004868/0.7202, allocations: 339.9 kB / 0.5638 GB, free: 11.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.7203, allocations: 0 / 0.5638 GB, free: 11.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001415/0.7204, allocations: 15.98 kB / 0.5639 GB, free: 11.15 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.311e-05/0.7204, allocations: 4 kB / 0.5639 GB, free: 11.14 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.7205, allocations: 0 / 0.5639 GB, free: 11.14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.526e-06/0.7205, allocations: 0 / 0.5639 GB, free: 11.14 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.7205, allocations: 3.953 kB / 0.5639 GB, free: 11.14 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002049/0.7207, allocations: 153.9 kB / 0.564 GB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.052e-05/0.7208, allocations: 85.02 kB / 0.5641 GB, free: 10.88 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.496e-05/0.7208, allocations: 3.25 kB / 0.5641 GB, free: 10.88 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001186/0.721, allocations: 15.98 kB / 0.5641 GB, free: 10.87 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.122e-05/0.721, allocations: 0 / 0.5641 GB, free: 10.87 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.006e-05/0.7211, allocations: 8.141 kB / 0.5641 GB, free: 10.86 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001245/0.7212, allocations: 110.6 kB / 0.5642 GB, free: 10.76 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.7212, allocations: 7.938 kB / 0.5642 GB, free: 10.75 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003561/0.7216, allocations: 19.98 kB / 0.5642 GB, free: 10.73 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.001238/0.7229, allocations: 412 kB / 0.5646 GB, free: 10.39 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001775/0.7231, allocations: 23.12 kB / 0.5647 GB, free: 10.37 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.7231, allocations: 0 / 0.5647 GB, free: 10.37 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.469e-05/0.7231, allocations: 19.62 kB / 0.5647 GB, free: 10.36 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003069/0.7235, allocations: 18.11 kB / 0.5647 GB, free: 10.34 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004227/0.7239, allocations: 125.1 kB / 0.5648 GB, free: 10.2 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003448/0.7243, allocations: 0.6965 MB / 0.5655 GB, free: 9.477 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.005e-05/0.7244, allocations: 11.44 kB / 0.5655 GB, free: 9.465 MB / 378.7 MB Notification: Performance of SimCode: time 9.21e-07/0.7244, allocations: 0 / 0.5655 GB, free: 9.465 MB / 378.7 MB Notification: Performance of Templates: time 0.004967/0.7293, allocations: 1.585 MB / 0.5671 GB, free: 7.891 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches