Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.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_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22") translateModel(ModelicaTest.Tables.CombiTable2Ds.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_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001111/0.001111, allocations: 108.8 kB / 17.77 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00112/0.00112, allocations: 184.1 kB / 18.71 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.26/1.26, allocations: 222.9 MB / 242.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1952/0.1952, allocations: 44.19 MB / 336.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001072/0.001072, allocations: 56.14 kB / 470.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3368/0.3379, allocations: 60.82 MB / 0.5189 GB, free: 3.43 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test22): time 0.002877/0.3408, allocations: 1.967 MB / 0.5208 GB, free: 2.055 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00142/0.3423, allocations: 1.032 MB / 0.5218 GB, free: 1.348 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.003e-05/0.3424, allocations: 2.219 kB / 0.5218 GB, free: 1.348 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002191/0.3426, allocations: 39.44 kB / 0.5219 GB, free: 1.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003241/0.3429, allocations: 152.7 kB / 0.522 GB, free: 1.258 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007962/0.3438, allocations: 414.4 kB / 0.5224 GB, free: 1.062 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003162/0.3441, allocations: 250.2 kB / 0.5227 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001565/0.3442, allocations: 62.56 kB / 0.5227 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001713/0.3444, allocations: 118.7 kB / 0.5228 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002335/0.3447, allocations: 182 kB / 0.523 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.586e-05/0.3447, allocations: 11.59 kB / 0.523 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001259/0.3448, allocations: 51.91 kB / 0.5231 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001515/0.345, allocations: 140.4 kB / 0.5232 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000107/0.3451, allocations: 157.1 kB / 0.5234 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004068/0.3455, allocations: 361.1 kB / 0.5237 GB, free: 0.5 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.3455, allocations: 5.656 kB / 0.5237 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3455, allocations: 3.938 kB / 0.5237 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.033e-06/0.3455, allocations: 0 / 0.5237 GB, free: 0.4922 MB / 382.1 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.0008511/0.3464, allocations: 0.7468 MB / 0.5244 GB, free: 15.88 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.3464, allocations: 13.44 kB / 0.5244 GB, free: 15.87 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.852e-05/0.3465, allocations: 56.03 kB / 0.5245 GB, free: 15.84 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005495/0.3471, allocations: 437.8 kB / 0.5249 GB, free: 15.53 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.3471, allocations: 7.594 kB / 0.5249 GB, free: 15.52 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.052e-05/0.3472, allocations: 21.14 kB / 0.5249 GB, free: 15.51 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002886/0.3475, allocations: 124.7 kB / 0.5251 GB, free: 15.44 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/0.3475, allocations: 4 kB / 0.5251 GB, free: 15.43 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.691e-05/0.3475, allocations: 5.891 kB / 0.5251 GB, free: 15.43 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.3475, allocations: 2.75 kB / 0.5251 GB, free: 15.43 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002113/0.3477, allocations: 72.59 kB / 0.5251 GB, free: 15.41 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009647/0.3487, allocations: 0.6584 MB / 0.5258 GB, free: 14.96 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002264/0.3489, allocations: 117.1 kB / 0.5259 GB, free: 14.88 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001084/0.3491, allocations: 42.95 kB / 0.5259 GB, free: 14.85 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.186e-05/0.3491, allocations: 2.125 kB / 0.5259 GB, free: 14.85 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.398e-05/0.3491, allocations: 41.7 kB / 0.526 GB, free: 14.8 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.523e-06/0.3491, allocations: 4 kB / 0.526 GB, free: 14.8 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.001474/0.3506, allocations: 0.5003 MB / 0.5265 GB, free: 14.55 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.361e-05/0.3507, allocations: 88.86 kB / 0.5266 GB, free: 14.45 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001153/0.3519, allocations: 0.8514 MB / 0.5274 GB, free: 14.11 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.822e-05/0.3519, allocations: 25.7 kB / 0.5274 GB, free: 14.07 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001941/0.3521, allocations: 241.7 kB / 0.5276 GB, free: 13.86 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.938e-05/0.3522, allocations: 58.7 kB / 0.5277 GB, free: 13.81 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.687e-05/0.3522, allocations: 32.36 kB / 0.5277 GB, free: 13.78 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001732/0.3524, allocations: 372 kB / 0.5281 GB, free: 13.43 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001555/0.3526, allocations: 54.58 kB / 0.5281 GB, free: 13.4 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001688/0.3528, allocations: 80.34 kB / 0.5282 GB, free: 13.35 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003258/0.3531, allocations: 129.8 kB / 0.5283 GB, free: 13.29 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.3531, allocations: 1.438 kB / 0.5283 GB, free: 13.29 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004428/0.3535, allocations: 224 kB / 0.5286 GB, free: 13.16 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.3536, allocations: 4.688 kB / 0.5286 GB, free: 13.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.3536, allocations: 5.469 kB / 0.5286 GB, free: 13.16 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.3536, allocations: 1.531 kB / 0.5286 GB, free: 13.16 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001895/0.3538, allocations: 39.69 kB / 0.5286 GB, free: 13.14 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.483e-06/0.3538, allocations: 1.25 kB / 0.5286 GB, free: 13.14 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001112/0.3539, allocations: 9.953 kB / 0.5286 GB, free: 13.14 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.552e-05/0.354, allocations: 8.938 kB / 0.5286 GB, free: 13.14 MB / 398.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001874/0.3542, allocations: 208.3 kB / 0.5288 GB, free: 12.98 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.219e-05/0.3543, allocations: 55.44 kB / 0.5289 GB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005512/0.3548, allocations: 257.8 kB / 0.5291 GB, free: 12.81 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.3548, allocations: 2.031 kB / 0.5291 GB, free: 12.81 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.3548, allocations: 7.984 kB / 0.5291 GB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.3548, allocations: 5.844 kB / 0.5291 GB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001006/0.3559, allocations: 0.765 MB / 0.5299 GB, free: 12.17 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.3559, allocations: 0 / 0.5299 GB, free: 12.17 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000156/0.356, allocations: 36.09 kB / 0.5299 GB, free: 12.16 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.356, allocations: 5.094 kB / 0.5299 GB, free: 12.16 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.669e-05/0.3561, allocations: 6.188 kB / 0.5299 GB, free: 12.16 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.44e-06/0.3561, allocations: 5.062 kB / 0.5299 GB, free: 12.15 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.3561, allocations: 1.125 kB / 0.5299 GB, free: 12.15 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004907/0.3566, allocations: 391.7 kB / 0.5303 GB, free: 11.86 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001221/0.3567, allocations: 144.1 kB / 0.5304 GB, free: 11.73 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.371e-05/0.3568, allocations: 1.156 kB / 0.5304 GB, free: 11.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001759/0.3569, allocations: 22.58 kB / 0.5305 GB, free: 11.71 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.424e-05/0.357, allocations: 10.2 kB / 0.5305 GB, free: 11.71 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.351e-05/0.357, allocations: 9.078 kB / 0.5305 GB, free: 11.7 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006855/0.3577, allocations: 0.6169 MB / 0.5311 GB, free: 11.42 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3577, allocations: 0 / 0.5311 GB, free: 11.42 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003238/0.358, allocations: 50.97 kB / 0.5311 GB, free: 11.41 MB / 398.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008587/0.3589, allocations: 406.4 kB / 0.5315 GB, free: 11.21 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003911/0.3593, allocations: 140.1 kB / 0.5317 GB, free: 11.15 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.3593, allocations: 0 / 0.5317 GB, free: 11.15 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001732/0.3595, allocations: 80.86 kB / 0.5317 GB, free: 11.12 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006023/0.3601, allocations: 95.47 kB / 0.5318 GB, free: 11.06 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001272/0.3614, allocations: 0.8699 MB / 0.5327 GB, free: 10.57 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004138/0.3618, allocations: 0.8525 MB / 0.5335 GB, free: 9.797 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001797/0.362, allocations: 68.62 kB / 0.5336 GB, free: 9.773 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.804e-05/0.3621, allocations: 39.05 kB / 0.5336 GB, free: 9.762 MB / 398.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3621, allocations: 0 / 0.5336 GB, free: 9.762 MB / 398.1 MB Notification: Performance of Templates: time 0.008538/0.3707, allocations: 3.959 MB / 0.5375 GB, free: 7.84 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test22/Test22.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches