Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.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.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sine_R.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22") translateModel(ModelicaTest.Tables.CombiTable2D.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sine_R.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001273/0.001273, allocations: 183.3 kB / 15.76 MB, free: 6.367 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.573/1.573, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0007803/0.0007803, allocations: 86.88 kB / 270.2 MB, free: 13.36 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.2226/0.2226, allocations: 43.55 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003333/0.0003333, allocations: 12 kB / 431.4 MB, free: 19.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.1452, allocations: 58.85 MB / 490.2 MB, free: 8.68 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4143/0.5595, allocations: 88.04 MB / 0.5647 GB, free: 11.77 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003429/0.56, allocations: 75.94 kB / 0.5648 GB, free: 11.73 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02197/0.5819, allocations: 8.409 MB / 0.573 GB, free: 4.508 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.582, allocations: 0 / 0.573 GB, free: 4.508 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.733e-05/0.582, allocations: 8 kB / 0.573 GB, free: 4.5 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0009542/0.583, allocations: 0.7365 MB / 0.5737 GB, free: 3.746 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.583, allocations: 8.031 kB / 0.5737 GB, free: 3.738 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.769e-05/0.5831, allocations: 59.28 kB / 0.5738 GB, free: 3.68 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007736/0.5839, allocations: 475.7 kB / 0.5743 GB, free: 3.211 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.643e-05/0.584, allocations: 4 kB / 0.5743 GB, free: 3.207 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.361e-05/0.584, allocations: 11.56 kB / 0.5743 GB, free: 3.199 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002871/0.5843, allocations: 133.6 kB / 0.5744 GB, free: 3.082 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.764e-05/0.5843, allocations: 11.88 kB / 0.5744 GB, free: 3.074 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.086e-05/0.5843, allocations: 4 kB / 0.5744 GB, free: 3.07 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.136e-06/0.5844, allocations: 3.953 kB / 0.5744 GB, free: 3.066 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002082/0.5846, allocations: 83.08 kB / 0.5745 GB, free: 3.004 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001043/0.5856, allocations: 0.7027 MB / 0.5752 GB, free: 2.34 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002461/0.5859, allocations: 120.4 kB / 0.5753 GB, free: 2.223 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.475e-05/0.5859, allocations: 7.984 kB / 0.5753 GB, free: 2.215 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/0.586, allocations: 30.56 kB / 0.5753 GB, free: 2.176 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.462e-06/0.586, allocations: 0 / 0.5753 GB, free: 2.176 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.00145/0.5874, allocations: 0.5339 MB / 0.5759 GB, free: 1.695 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.858e-05/0.5875, allocations: 92.61 kB / 0.5759 GB, free: 1.59 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009317/0.5884, allocations: 0.7872 MB / 0.5767 GB, free: 0.9414 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.912e-05/0.5885, allocations: 25.7 kB / 0.5767 GB, free: 0.9102 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001792/0.5887, allocations: 259.1 kB / 0.577 GB, free: 0.7617 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.408e-05/0.5887, allocations: 50.7 kB / 0.577 GB, free: 0.7188 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.049e-05/0.5888, allocations: 4 kB / 0.577 GB, free: 0.7148 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001913/0.5889, allocations: 365.9 kB / 0.5774 GB, free: 380 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001518/0.5891, allocations: 59.52 kB / 0.5774 GB, free: 332 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001488/0.5893, allocations: 81.59 kB / 0.5775 GB, free: 260 kB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001684/0.5894, allocations: 71.23 kB / 0.5776 GB, free: 208 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.5895, allocations: 7.938 kB / 0.5776 GB, free: 200 kB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004691/0.5899, allocations: 235.6 kB / 0.5778 GB, free: 15.99 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.59, allocations: 15.44 kB / 0.5778 GB, free: 15.98 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.59, allocations: 0 / 0.5778 GB, free: 15.98 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.59, allocations: 0 / 0.5778 GB, free: 15.98 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002134/0.5902, allocations: 43.78 kB / 0.5779 GB, free: 15.94 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.197e-05/0.5902, allocations: 4 kB / 0.5779 GB, free: 15.94 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001461/0.5904, allocations: 19.94 kB / 0.5779 GB, free: 15.92 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.762e-05/0.5904, allocations: 4 kB / 0.5779 GB, free: 15.91 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (16): * Single equations (assignments): 16 * 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.0002282/0.5907, allocations: 213 kB / 0.5781 GB, free: 15.71 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001074/0.5908, allocations: 55.16 kB / 0.5782 GB, free: 15.66 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005985/0.5914, allocations: 283.9 kB / 0.5784 GB, free: 15.43 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.806e-06/0.5914, allocations: 7.984 kB / 0.5784 GB, free: 15.42 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.5914, allocations: 0 / 0.5784 GB, free: 15.42 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.5914, allocations: 0 / 0.5784 GB, free: 15.42 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001315/0.5927, allocations: 0.8664 MB / 0.5793 GB, free: 14.63 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.5928, allocations: 7.969 kB / 0.5793 GB, free: 14.62 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001766/0.5929, allocations: 39.92 kB / 0.5793 GB, free: 14.59 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.593, allocations: 3.984 kB / 0.5793 GB, free: 14.58 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.729e-05/0.593, allocations: 8.5 kB / 0.5793 GB, free: 14.58 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.49e-06/0.593, allocations: 3.953 kB / 0.5793 GB, free: 14.57 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.593, allocations: 0 / 0.5793 GB, free: 14.57 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005515/0.5936, allocations: 422.3 kB / 0.5797 GB, free: 14.18 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002782/0.5938, allocations: 176 kB / 0.5799 GB, free: 14 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.253e-05/0.5939, allocations: 7.953 kB / 0.5799 GB, free: 13.99 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001961/0.5941, allocations: 23.42 kB / 0.5799 GB, free: 13.97 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.059e-05/0.5942, allocations: 19.89 kB / 0.58 GB, free: 13.95 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.26e-05/0.5942, allocations: 6.688 kB / 0.58 GB, free: 13.95 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0007388/0.595, allocations: 0.6261 MB / 0.5806 GB, free: 13.46 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.595, allocations: 0 / 0.5806 GB, free: 13.46 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003836/0.5953, allocations: 77.92 kB / 0.5807 GB, free: 13.39 MB / 394.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 (16): * Single equations (assignments): 16 * 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.000965/0.5963, allocations: 402.8 kB / 0.581 GB, free: 13.04 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004341/0.5968, allocations: 161.8 kB / 0.5812 GB, free: 12.91 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.5968, allocations: 0 / 0.5812 GB, free: 12.91 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001748/0.597, allocations: 85.95 kB / 0.5813 GB, free: 12.84 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004768/0.5974, allocations: 74.28 kB / 0.5813 GB, free: 12.79 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001494/0.599, allocations: 0.969 MB / 0.5823 GB, free: 11.86 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004819/0.5994, allocations: 0.8639 MB / 0.5831 GB, free: 10.98 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002165/0.5997, allocations: 94.84 kB / 0.5832 GB, free: 10.89 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001197/0.5998, allocations: 43.36 kB / 0.5833 GB, free: 10.85 MB / 394.7 MB Notification: Performance of SimCode: time 2.21e-07/0.5998, allocations: 0 / 0.5833 GB, free: 10.85 MB / 394.7 MB Notification: Performance of Templates: time 0.008477/0.6083, allocations: 4.319 MB / 0.5875 GB, free: 6.539 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test22/Test22.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches