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/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 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 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 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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 107.7 kB / 17.03 MB, free: 5.66 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.001211/0.001211, allocations: 190.9 kB / 17.96 MB, free: 5.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.436/1.436, allocations: 205.1 MB / 223.8 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1858/0.1858, allocations: 43.52 MB / 314.7 MB, free: 472 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 69.17 kB / 384.2 MB, free: 56.45 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09562/0.0971, allocations: 57.8 MB / 442 MB, free: 6.137 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test22): time 0.00284/0.09998, allocations: 1.928 MB / 443.9 MB, free: 4.191 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001275/0.1013, allocations: 0.9677 MB / 444.9 MB, free: 3.215 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.522e-05/0.1014, allocations: 4 kB / 444.9 MB, free: 3.211 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002059/0.1016, allocations: 47.58 kB / 444.9 MB, free: 3.164 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002627/0.1019, allocations: 147.4 kB / 445.1 MB, free: 3.02 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000673/0.1026, allocations: 390 kB / 445.4 MB, free: 2.648 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000243/0.1028, allocations: 255.2 kB / 445.7 MB, free: 2.398 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000152/0.103, allocations: 64.3 kB / 445.8 MB, free: 2.332 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001381/0.1031, allocations: 123.5 kB / 445.9 MB, free: 2.211 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001877/0.1033, allocations: 175.4 kB / 446 MB, free: 2.039 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.007e-05/0.1033, allocations: 12 kB / 446.1 MB, free: 2.027 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.477e-05/0.1034, allocations: 39.98 kB / 446.1 MB, free: 1.988 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001322/0.1036, allocations: 143.5 kB / 446.2 MB, free: 1.848 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001022/0.1037, allocations: 150.8 kB / 446.4 MB, free: 1.699 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002819/0.104, allocations: 346.6 kB / 446.7 MB, free: 1.359 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.104, allocations: 0 / 446.7 MB, free: 1.359 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.104, allocations: 0 / 446.7 MB, free: 1.359 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.408e-05/0.104, allocations: 0 / 446.7 MB, free: 1.359 MB / 318.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.0008191/0.1048, allocations: 0.7424 MB / 447.5 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.1049, allocations: 11.89 kB / 447.5 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.021e-05/0.105, allocations: 48.38 kB / 447.5 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004678/0.1055, allocations: 432 kB / 447.9 MB, free: 48 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.819e-05/0.1055, allocations: 8.375 kB / 448 MB, free: 40 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.535e-05/0.1055, allocations: 16.12 kB / 448 MB, free: 24 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002982/0.1058, allocations: 133.2 kB / 448.1 MB, free: 15.88 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.702e-05/0.1059, allocations: 3.984 kB / 448.1 MB, free: 15.88 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.564e-05/0.1059, allocations: 4 kB / 448.1 MB, free: 15.88 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.178e-06/0.1059, allocations: 4 kB / 448.1 MB, free: 15.87 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001985/0.1061, allocations: 71.95 kB / 448.2 MB, free: 15.8 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009333/0.107, allocations: 0.6603 MB / 448.8 MB, free: 15.09 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001996/0.1072, allocations: 105.2 kB / 448.9 MB, free: 14.96 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.521e-05/0.1074, allocations: 49.77 kB / 449 MB, free: 14.91 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.968e-05/0.1074, allocations: 3.984 kB / 449 MB, free: 14.91 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.284e-05/0.1074, allocations: 38.5 kB / 449 MB, free: 14.86 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.242e-06/0.1074, allocations: 224 / 449 MB, free: 14.86 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.001298/0.1087, allocations: 0.4983 MB / 449.5 MB, free: 14.35 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.857e-05/0.1088, allocations: 93.03 kB / 449.6 MB, free: 14.24 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008622/0.1097, allocations: 0.8388 MB / 450.5 MB, free: 13.39 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.946e-05/0.1097, allocations: 25.7 kB / 450.5 MB, free: 13.36 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001944/0.1099, allocations: 240.3 kB / 450.7 MB, free: 13.12 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.384e-05/0.1099, allocations: 59.19 kB / 450.8 MB, free: 13.06 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.971e-05/0.11, allocations: 33.7 kB / 450.8 MB, free: 13.02 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001604/0.1102, allocations: 374.7 kB / 451.2 MB, free: 12.65 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001466/0.1103, allocations: 51.95 kB / 451.2 MB, free: 12.6 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001526/0.1105, allocations: 73.67 kB / 451.3 MB, free: 12.52 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003161/0.1108, allocations: 133.6 kB / 451.4 MB, free: 12.38 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.1108, allocations: 0 / 451.4 MB, free: 12.38 MB / 334.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000425/0.1113, allocations: 220.9 kB / 451.6 MB, free: 12.16 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.1113, allocations: 4 kB / 451.7 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.1113, allocations: 3.938 kB / 451.7 MB, free: 12.15 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.1113, allocations: 8 kB / 451.7 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001926/0.1115, allocations: 35.97 kB / 451.7 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.1115, allocations: 0 / 451.7 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001185/0.1117, allocations: 15.92 kB / 451.7 MB, free: 12.09 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.606e-05/0.1117, allocations: 8 kB / 451.7 MB, free: 12.09 MB / 334.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.0001797/0.1119, allocations: 209.6 kB / 451.9 MB, free: 11.87 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.727e-05/0.112, allocations: 51.34 kB / 452 MB, free: 11.82 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005348/0.1125, allocations: 274.8 kB / 452.2 MB, free: 11.55 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.1125, allocations: 0 / 452.2 MB, free: 11.55 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.1125, allocations: 4 kB / 452.2 MB, free: 11.54 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.1125, allocations: 3.984 kB / 452.3 MB, free: 11.54 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001027/0.1136, allocations: 0.7552 MB / 453 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.1136, allocations: 0 / 453 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001598/0.1138, allocations: 35.97 kB / 453 MB, free: 10.69 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.796e-06/0.1138, allocations: 0 / 453 MB, free: 10.69 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.96e-05/0.1138, allocations: 8 kB / 453.1 MB, free: 10.68 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.569e-06/0.1138, allocations: 11.81 kB / 453.1 MB, free: 10.67 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.1138, allocations: 0 / 453.1 MB, free: 10.67 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004868/0.1143, allocations: 397.6 kB / 453.4 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001637/0.1145, allocations: 140.4 kB / 453.6 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.433e-05/0.1145, allocations: 4 kB / 453.6 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001815/0.1147, allocations: 15.92 kB / 453.6 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.117e-05/0.1148, allocations: 15.98 kB / 453.6 MB, free: 10.08 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.319e-05/0.1148, allocations: 7.984 kB / 453.6 MB, free: 10.07 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0006131/0.1154, allocations: 0.6159 MB / 454.2 MB, free: 9.457 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1154, allocations: 0 / 454.2 MB, free: 9.457 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003314/0.1158, allocations: 48 kB / 454.3 MB, free: 9.41 MB / 334.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.0009006/0.1167, allocations: 408 kB / 454.7 MB, free: 9.082 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004086/0.1171, allocations: 147.8 kB / 454.8 MB, free: 8.938 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1171, allocations: 0 / 454.8 MB, free: 8.938 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001735/0.1173, allocations: 75.91 kB / 454.9 MB, free: 8.863 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005931/0.1179, allocations: 83.59 kB / 455 MB, free: 8.781 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001138/0.119, allocations: 0.8561 MB / 455.8 MB, free: 7.891 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004159/0.1195, allocations: 0.8534 MB / 456.7 MB, free: 7.012 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001514/0.1196, allocations: 70.92 kB / 456.8 MB, free: 6.945 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.638e-05/0.1197, allocations: 39.42 kB / 456.8 MB, free: 6.906 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1197, allocations: 0 / 456.8 MB, free: 6.906 MB / 334.1 MB Notification: Performance of Templates: time 0.00797/0.1277, allocations: 3.922 MB / 460.7 MB, free: 2.992 MB / 334.1 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches