Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test30.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.Test30,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.Test30") translateModel(ModelicaTest.Tables.CombiTable2D.Test30,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.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002301/0.002305, allocations: 181.6 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.178/2.178, 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.001052/0.001052, allocations: 86.66 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.2748/0.2748, allocations: 43.5 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.384e-05/3.402e-05, allocations: 4 kB / 425.3 MB, free: 23.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1112, allocations: 58.86 MB / 484.1 MB, free: 12.47 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.468/0.5793, allocations: 86.75 MB / 0.5575 GB, free: 0.8672 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002163/0.5795, allocations: 73.25 kB / 0.5576 GB, free: 0.832 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01824/0.5978, allocations: 4.33 MB / 0.5618 GB, free: 13.12 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.275e-06/0.5978, allocations: 0 / 0.5618 GB, free: 13.12 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.844e-05/0.5979, allocations: 4 kB / 0.5618 GB, free: 13.11 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.0005345/0.5984, allocations: 388.5 kB / 0.5622 GB, free: 12.7 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.007e-05/0.5985, allocations: 12.03 kB / 0.5622 GB, free: 12.69 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.199e-05/0.5986, allocations: 19.86 kB / 0.5622 GB, free: 12.67 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003145/0.5989, allocations: 211.2 kB / 0.5624 GB, free: 12.43 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.5989, allocations: 0 / 0.5624 GB, free: 12.43 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.18e-05/0.5989, allocations: 4 kB / 0.5624 GB, free: 12.42 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001413/0.5991, allocations: 48.62 kB / 0.5625 GB, free: 12.38 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.5991, allocations: 3.938 kB / 0.5625 GB, free: 12.37 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.5991, allocations: 3.062 kB / 0.5625 GB, free: 12.37 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.5992, allocations: 0 / 0.5625 GB, free: 12.37 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.191e-05/0.5993, allocations: 15.94 kB / 0.5625 GB, free: 12.36 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005208/0.5998, allocations: 313.6 kB / 0.5628 GB, free: 12.03 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001086/0.5999, allocations: 33.39 kB / 0.5628 GB, free: 11.99 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.758e-05/0.6, allocations: 16.17 kB / 0.5628 GB, free: 11.98 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.121e-05/0.6, allocations: 0 / 0.5628 GB, free: 11.98 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.224e-05/0.6001, allocations: 30.56 kB / 0.5629 GB, free: 11.94 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.954e-06/0.6001, allocations: 8 kB / 0.5629 GB, free: 11.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007149/0.6008, allocations: 149.2 kB / 0.563 GB, free: 11.8 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.341e-05/0.6009, allocations: 51.41 kB / 0.5631 GB, free: 11.73 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003113/0.6012, allocations: 190.2 kB / 0.5632 GB, free: 11.56 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.6013, allocations: 28.89 kB / 0.5633 GB, free: 11.53 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.7e-05/0.6013, allocations: 164.2 kB / 0.5634 GB, free: 11.38 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.248e-05/0.6014, allocations: 23.34 kB / 0.5634 GB, free: 11.36 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.113e-06/0.6014, allocations: 0 / 0.5634 GB, free: 11.36 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.6015, allocations: 322.4 kB / 0.5638 GB, free: 11.04 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.492e-05/0.6016, allocations: 11.56 kB / 0.5638 GB, free: 11.03 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.147e-05/0.6017, allocations: 15.56 kB / 0.5638 GB, free: 11.02 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.793e-05/0.6017, allocations: 19.42 kB / 0.5638 GB, free: 11 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.738e-06/0.6017, allocations: 0 / 0.5638 GB, free: 11 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001886/0.6019, allocations: 76.05 kB / 0.5639 GB, free: 10.93 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.602, allocations: 4 kB / 0.5639 GB, free: 10.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.602, allocations: 0 / 0.5639 GB, free: 10.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.602, allocations: 7.953 kB / 0.5639 GB, free: 10.92 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002274/0.6023, allocations: 27.23 kB / 0.5639 GB, free: 10.9 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/0.6023, allocations: 0 / 0.5639 GB, free: 10.9 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001353/0.6024, allocations: 15.98 kB / 0.5639 GB, free: 10.88 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.155e-05/0.6024, allocations: 0 / 0.5639 GB, free: 10.88 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 9.248e-05/0.6026, allocations: 116.1 kB / 0.564 GB, free: 10.77 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.156e-05/0.6026, allocations: 11.81 kB / 0.564 GB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002856/0.6029, allocations: 93.88 kB / 0.5641 GB, free: 10.67 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.6029, allocations: 3.953 kB / 0.5641 GB, free: 10.66 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.6029, allocations: 0 / 0.5641 GB, free: 10.66 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.603, allocations: 144 / 0.5641 GB, free: 10.66 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005886/0.6036, allocations: 375.4 kB / 0.5645 GB, free: 10.28 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.6036, allocations: 4 kB / 0.5645 GB, free: 10.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001917/0.6038, allocations: 23.98 kB / 0.5645 GB, free: 10.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.029e-05/0.6038, allocations: 3.953 kB / 0.5645 GB, free: 10.25 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.49e-05/0.6038, allocations: 7.438 kB / 0.5645 GB, free: 10.24 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.681e-06/0.6038, allocations: 3.984 kB / 0.5645 GB, free: 10.24 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.6039, allocations: 3.938 kB / 0.5645 GB, free: 10.23 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003163/0.6042, allocations: 178 kB / 0.5647 GB, free: 10.06 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.492e-05/0.6043, allocations: 85.02 kB / 0.5648 GB, free: 9.957 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.582e-05/0.6043, allocations: 18.88 kB / 0.5648 GB, free: 9.941 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000159/0.6045, allocations: 8 kB / 0.5648 GB, free: 9.934 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.114e-05/0.6046, allocations: 11.97 kB / 0.5648 GB, free: 9.922 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.166e-05/0.6046, allocations: 4 kB / 0.5648 GB, free: 9.918 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002193/0.6048, allocations: 161.6 kB / 0.565 GB, free: 9.785 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.6e-07/0.6048, allocations: 0 / 0.565 GB, free: 9.785 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003454/0.6052, allocations: 27.92 kB / 0.565 GB, free: 9.758 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.001091/0.6063, allocations: 372.3 kB / 0.5654 GB, free: 9.449 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002083/0.6065, allocations: 49.23 kB / 0.5654 GB, free: 9.414 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.6066, allocations: 3.938 kB / 0.5654 GB, free: 9.41 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.202e-05/0.6066, allocations: 22 kB / 0.5654 GB, free: 9.395 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003244/0.607, allocations: 13 kB / 0.5655 GB, free: 9.387 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005689/0.6076, allocations: 201.7 kB / 0.5656 GB, free: 9.184 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003297/0.6079, allocations: 0.7171 MB / 0.5663 GB, free: 8.445 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000105/0.608, allocations: 15.44 kB / 0.5664 GB, free: 8.43 MB / 378.7 MB Notification: Performance of SimCode: time 5.22e-06/0.6081, allocations: 0 / 0.5664 GB, free: 8.43 MB / 378.7 MB Notification: Performance of Templates: time 0.005283/0.6134, allocations: 1.745 MB / 0.5681 GB, free: 6.691 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test30.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test30.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test30.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test30.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test30 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test30/Test30.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches