Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.001268/0.001268, allocations: 172.2 kB / 16.76 MB, free: 5.059 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.561/1.561, allocations: 205.4 MB / 222.9 MB, free: 9.039 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.0008182/0.0008181, allocations: 93.11 kB / 271.3 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3775/0.3775, allocations: 43.56 MB / 363.1 MB, free: 52.09 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00039/0.0003906, allocations: 20 kB / 432.6 MB, free: 5.211 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.1318, allocations: 58.84 MB / 491.5 MB, free: 10.29 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3704/0.5022, allocations: 86.68 MB / 0.5646 GB, free: 15.34 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002192/0.5025, allocations: 79.95 kB / 0.5647 GB, free: 15.26 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01165/0.5142, allocations: 4.313 MB / 0.5689 GB, free: 10.99 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.685e-06/0.5142, allocations: 0 / 0.5689 GB, free: 10.99 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.399e-05/0.5142, allocations: 4 kB / 0.5689 GB, free: 10.98 MB / 394.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.000504/0.5148, allocations: 378.9 kB / 0.5692 GB, free: 10.57 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.5148, allocations: 8.031 kB / 0.5693 GB, free: 10.56 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.745e-05/0.5149, allocations: 8.844 kB / 0.5693 GB, free: 10.55 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002517/0.5151, allocations: 196.2 kB / 0.5694 GB, free: 10.32 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.304e-05/0.5152, allocations: 4.375 kB / 0.5695 GB, free: 10.32 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.238e-05/0.5152, allocations: 4.375 kB / 0.5695 GB, free: 10.31 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001688/0.5154, allocations: 55.97 kB / 0.5695 GB, free: 10.25 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.974e-05/0.5154, allocations: 8.172 kB / 0.5695 GB, free: 10.24 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.5154, allocations: 7.875 kB / 0.5695 GB, free: 10.23 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.5154, allocations: 0 / 0.5695 GB, free: 10.23 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.788e-05/0.5155, allocations: 27.98 kB / 0.5696 GB, free: 10.2 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004194/0.516, allocations: 268.9 kB / 0.5698 GB, free: 9.891 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002169/0.5162, allocations: 50.5 kB / 0.5699 GB, free: 9.832 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.353e-05/0.5163, allocations: 20.8 kB / 0.5699 GB, free: 9.809 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.1e-05/0.5163, allocations: 0 / 0.5699 GB, free: 9.809 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.908e-05/0.5163, allocations: 38.92 kB / 0.5699 GB, free: 9.762 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.5163, allocations: 0 / 0.5699 GB, free: 9.762 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006138/0.5169, allocations: 157.4 kB / 0.5701 GB, free: 9.602 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.639e-05/0.517, allocations: 77.11 kB / 0.5701 GB, free: 9.508 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001418/0.5172, allocations: 133.8 kB / 0.5703 GB, free: 9.367 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.5172, allocations: 29.7 kB / 0.5703 GB, free: 9.332 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.118e-05/0.5173, allocations: 88.08 kB / 0.5704 GB, free: 9.242 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.913e-05/0.5173, allocations: 27.66 kB / 0.5704 GB, free: 9.215 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.296e-06/0.5173, allocations: 0 / 0.5704 GB, free: 9.215 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.5174, allocations: 322.8 kB / 0.5707 GB, free: 8.891 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.973e-05/0.5175, allocations: 23.98 kB / 0.5707 GB, free: 8.867 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.174e-05/0.5176, allocations: 37.7 kB / 0.5708 GB, free: 8.824 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001246/0.5177, allocations: 53.58 kB / 0.5708 GB, free: 8.77 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.5177, allocations: 0 / 0.5708 GB, free: 8.77 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001899/0.5179, allocations: 88.08 kB / 0.5709 GB, free: 8.68 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.518, allocations: 4 kB / 0.5709 GB, free: 8.676 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/0.518, allocations: 0 / 0.5709 GB, free: 8.676 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.518, allocations: 0 / 0.5709 GB, free: 8.676 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.279e-05/0.5181, allocations: 19.98 kB / 0.5709 GB, free: 8.656 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.5181, allocations: 0 / 0.5709 GB, free: 8.656 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.243e-05/0.5181, allocations: 11.94 kB / 0.5709 GB, free: 8.645 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.867e-06/0.5181, allocations: 3.984 kB / 0.5709 GB, free: 8.641 MB / 394.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 (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 9.567e-05/0.5182, allocations: 125.8 kB / 0.5711 GB, free: 8.508 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.531e-05/0.5183, allocations: 7.906 kB / 0.5711 GB, free: 8.5 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002397/0.5185, allocations: 93.56 kB / 0.5712 GB, free: 8.406 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.5185, allocations: 4 kB / 0.5712 GB, free: 8.402 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.5186, allocations: 4 kB / 0.5712 GB, free: 8.398 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.5186, allocations: 0 / 0.5712 GB, free: 8.398 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004488/0.519, allocations: 355.4 kB / 0.5715 GB, free: 7.996 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.519, allocations: 0 / 0.5715 GB, free: 7.996 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.578e-05/0.5191, allocations: 15.94 kB / 0.5715 GB, free: 7.98 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.5191, allocations: 4 kB / 0.5715 GB, free: 7.977 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.226e-06/0.5191, allocations: 0 / 0.5715 GB, free: 7.977 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.659e-06/0.5191, allocations: 8.359 kB / 0.5715 GB, free: 7.969 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.5191, allocations: 0 / 0.5715 GB, free: 7.969 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002656/0.5194, allocations: 191.4 kB / 0.5717 GB, free: 7.766 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.858e-05/0.5195, allocations: 89 kB / 0.5718 GB, free: 7.66 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.813e-05/0.5195, allocations: 4 kB / 0.5718 GB, free: 7.656 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.832e-05/0.5196, allocations: 8 kB / 0.5718 GB, free: 7.648 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.313e-05/0.5196, allocations: 7.922 kB / 0.5718 GB, free: 7.641 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.862e-06/0.5196, allocations: 4 kB / 0.5718 GB, free: 7.637 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.887e-05/0.5197, allocations: 103.2 kB / 0.5719 GB, free: 7.535 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5197, allocations: 0 / 0.5719 GB, free: 7.535 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002718/0.52, allocations: 24 kB / 0.5719 GB, free: 7.512 MB / 394.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 () * Number of clocked 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.001073/0.5211, allocations: 462.9 kB / 0.5724 GB, free: 7.156 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002053/0.5213, allocations: 55.95 kB / 0.5724 GB, free: 7.102 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.5213, allocations: 0 / 0.5724 GB, free: 7.102 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.28e-05/0.5214, allocations: 27.98 kB / 0.5725 GB, free: 7.074 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000317/0.5217, allocations: 12 kB / 0.5725 GB, free: 7.062 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004463/0.5222, allocations: 174.9 kB / 0.5726 GB, free: 6.871 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002993/0.5225, allocations: 0.6887 MB / 0.5733 GB, free: 6.156 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.704e-05/0.5226, allocations: 7.984 kB / 0.5733 GB, free: 6.148 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.866e-05/0.5226, allocations: 19.36 kB / 0.5733 GB, free: 6.129 MB / 394.7 MB Notification: Performance of SimCode: time 2.61e-07/0.5226, allocations: 0 / 0.5733 GB, free: 6.129 MB / 394.7 MB Notification: Performance of Templates: time 0.004022/0.5267, allocations: 1.273 MB / 0.5746 GB, free: 4.859 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test33.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test33.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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_ModelicaTest.Tables.CombiTable1Ds.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches