Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008181/0.0008182, allocations: 179 kB / 18.09 MB, free: 3.758 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.196/1.196, allocations: 223.3 MB / 242.1 MB, free: 11.67 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00072/0.0007203, allocations: 94.8 kB / 293.3 MB, free: 10.79 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2779/0.2779, allocations: 44.14 MB / 388.5 MB, free: 38.65 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003494/0.0003495, allocations: 12 kB / 461.1 MB, free: 1.332 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2696/0.27, allocations: 61.88 MB / 0.5107 GB, free: 38.12 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1009/0.3709, allocations: 88.18 MB / 0.5968 GB, free: 6.91 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002579/0.3712, allocations: 83.95 kB / 0.5969 GB, free: 6.832 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01037/0.3816, allocations: 4.28 MB / 0.6011 GB, free: 2.551 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3816, allocations: 0 / 0.6011 GB, free: 2.551 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.516e-05/0.3816, allocations: 3.938 kB / 0.6011 GB, free: 2.547 MB / 410.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.0003772/0.382, allocations: 415 kB / 0.6015 GB, free: 2.09 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.3821, allocations: 8.031 kB / 0.6015 GB, free: 2.082 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.969e-05/0.3821, allocations: 12.84 kB / 0.6015 GB, free: 2.07 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002149/0.3823, allocations: 209.2 kB / 0.6017 GB, free: 1.828 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.3824, allocations: 4.375 kB / 0.6017 GB, free: 1.824 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.825e-05/0.3824, allocations: 4.375 kB / 0.6017 GB, free: 1.82 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001252/0.3825, allocations: 62.09 kB / 0.6018 GB, free: 1.754 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.3825, allocations: 12.19 kB / 0.6018 GB, free: 1.742 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-06/0.3826, allocations: 3.938 kB / 0.6018 GB, free: 1.738 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.3826, allocations: 0 / 0.6018 GB, free: 1.738 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.351e-05/0.3827, allocations: 31.97 kB / 0.6018 GB, free: 1.707 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003941/0.3831, allocations: 308.7 kB / 0.6021 GB, free: 1.355 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001072/0.3832, allocations: 50.5 kB / 0.6022 GB, free: 1.297 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.008e-05/0.3832, allocations: 16.95 kB / 0.6022 GB, free: 1.277 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.255e-05/0.3833, allocations: 3.984 kB / 0.6022 GB, free: 1.273 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.55e-05/0.3833, allocations: 34.56 kB / 0.6022 GB, free: 1.23 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.693e-06/0.3833, allocations: 4 kB / 0.6022 GB, free: 1.227 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008877/0.3842, allocations: 257.5 kB / 0.6025 GB, free: 0.9688 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.698e-05/0.3843, allocations: 59.38 kB / 0.6025 GB, free: 0.8984 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001967/0.3845, allocations: 196 kB / 0.6027 GB, free: 0.6992 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.452e-05/0.3845, allocations: 29.7 kB / 0.6027 GB, free: 0.6641 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.101e-05/0.3846, allocations: 112 kB / 0.6029 GB, free: 0.5508 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.901e-05/0.3846, allocations: 27.59 kB / 0.6029 GB, free: 0.5234 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.017e-06/0.3846, allocations: 0 / 0.6029 GB, free: 0.5234 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001155/0.3847, allocations: 326.8 kB / 0.6032 GB, free: 200 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.834e-05/0.3848, allocations: 39.91 kB / 0.6032 GB, free: 160 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.146e-05/0.3849, allocations: 35.98 kB / 0.6033 GB, free: 124 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000157/0.3851, allocations: 80.81 kB / 0.6033 GB, free: 40 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.3851, allocations: 0 / 0.6033 GB, free: 40 kB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002473/0.3853, allocations: 117.6 kB / 0.6035 GB, free: 15.91 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.3854, allocations: 8 kB / 0.6035 GB, free: 15.91 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.3854, allocations: 0 / 0.6035 GB, free: 15.91 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.3854, allocations: 0 / 0.6035 GB, free: 15.91 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.3855, allocations: 27.92 kB / 0.6035 GB, free: 15.88 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.3855, allocations: 0 / 0.6035 GB, free: 15.88 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.453e-05/0.3856, allocations: 4 kB / 0.6035 GB, free: 15.88 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.459e-05/0.3856, allocations: 7.984 kB / 0.6035 GB, free: 15.87 MB / 426.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 (8): * Single equations (assignments): 8 * 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.0001041/0.3857, allocations: 130.3 kB / 0.6036 GB, free: 15.73 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.336e-05/0.3857, allocations: 15.84 kB / 0.6036 GB, free: 15.71 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002736/0.386, allocations: 138.6 kB / 0.6038 GB, free: 15.57 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.386, allocations: 7.938 kB / 0.6038 GB, free: 15.57 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.386, allocations: 4 kB / 0.6038 GB, free: 15.56 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.3861, allocations: 0 / 0.6038 GB, free: 15.56 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005287/0.3866, allocations: 443.1 kB / 0.6042 GB, free: 15.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.3866, allocations: 0 / 0.6042 GB, free: 15.07 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.471e-05/0.3867, allocations: 20.03 kB / 0.6042 GB, free: 15.05 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.063e-06/0.3867, allocations: 7.984 kB / 0.6042 GB, free: 15.04 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.337e-06/0.3867, allocations: 3.938 kB / 0.6042 GB, free: 15.04 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.3867, allocations: 0 / 0.6042 GB, free: 15.04 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3867, allocations: 0 / 0.6042 GB, free: 15.04 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002513/0.387, allocations: 220.2 kB / 0.6044 GB, free: 14.8 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.18e-05/0.387, allocations: 97 kB / 0.6045 GB, free: 14.69 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.883e-05/0.3871, allocations: 7.938 kB / 0.6045 GB, free: 14.68 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.947e-05/0.3871, allocations: 8 kB / 0.6045 GB, free: 14.68 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.787e-05/0.3872, allocations: 7.984 kB / 0.6046 GB, free: 14.67 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.04e-06/0.3872, allocations: 0 / 0.6046 GB, free: 14.67 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000124/0.3873, allocations: 164 kB / 0.6047 GB, free: 14.51 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3873, allocations: 0 / 0.6047 GB, free: 14.51 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002322/0.3876, allocations: 24 kB / 0.6047 GB, free: 14.48 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.0008972/0.3885, allocations: 469.9 kB / 0.6052 GB, free: 14.21 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002129/0.3887, allocations: 83.89 kB / 0.6053 GB, free: 14.12 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3887, allocations: 0 / 0.6053 GB, free: 14.12 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001004/0.3888, allocations: 48.03 kB / 0.6053 GB, free: 14.08 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002718/0.3891, allocations: 15.98 kB / 0.6053 GB, free: 14.06 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004566/0.3896, allocations: 286.2 kB / 0.6056 GB, free: 13.75 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002564/0.3898, allocations: 0.7122 MB / 0.6063 GB, free: 13.01 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.157e-05/0.3899, allocations: 20.95 kB / 0.6063 GB, free: 12.98 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.77e-05/0.39, allocations: 19.42 kB / 0.6063 GB, free: 12.96 MB / 426.7 MB Notification: Performance of SimCode: time 2.1e-07/0.39, allocations: 0 / 0.6063 GB, free: 12.96 MB / 426.7 MB Notification: Performance of Templates: time 0.003434/0.3934, allocations: 1.377 MB / 0.6077 GB, free: 11.59 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test34/Test34.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches