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.00116/0.00116, allocations: 100.6 kB / 16.94 MB, free: 6.184 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.001093/0.001093, allocations: 191.4 kB / 17.86 MB, free: 5.289 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.447/1.447, allocations: 205.1 MB / 223.7 MB, free: 12.29 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.2111/0.2111, allocations: 43.52 MB / 314.6 MB, free: 0.5312 MB / 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.001488/0.001488, allocations: 65.83 kB / 383.4 MB, free: 56.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.104, allocations: 57.8 MB / 441.2 MB, free: 6.895 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test22): time 0.003056/0.1071, allocations: 1.936 MB / 443.1 MB, free: 4.938 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001316/0.1085, allocations: 0.9716 MB / 444.1 MB, free: 3.957 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.73e-05/0.1086, allocations: 4 kB / 444.1 MB, free: 3.953 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002564/0.1088, allocations: 39.64 kB / 444.1 MB, free: 3.914 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003254/0.1092, allocations: 151.4 kB / 444.3 MB, free: 3.766 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00077/0.11, allocations: 394.2 kB / 444.7 MB, free: 3.391 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002503/0.1102, allocations: 247.3 kB / 444.9 MB, free: 3.148 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001696/0.1104, allocations: 68.28 kB / 445 MB, free: 3.078 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001377/0.1106, allocations: 119.5 kB / 445.1 MB, free: 2.961 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001853/0.1108, allocations: 175.4 kB / 445.3 MB, free: 2.789 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.356e-05/0.1108, allocations: 12 kB / 445.3 MB, free: 2.777 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.656e-05/0.1109, allocations: 43.94 kB / 445.3 MB, free: 2.734 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001166/0.111, allocations: 139.5 kB / 445.5 MB, free: 2.598 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.727e-05/0.1111, allocations: 146.8 kB / 445.6 MB, free: 2.453 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002642/0.1114, allocations: 342.6 kB / 445.9 MB, free: 2.117 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1114, allocations: 4 kB / 445.9 MB, free: 2.113 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1114, allocations: 0 / 445.9 MB, free: 2.113 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.622e-06/0.1114, allocations: 0 / 445.9 MB, free: 2.113 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.000732/0.1122, allocations: 0.7347 MB / 446.7 MB, free: 1.328 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.1122, allocations: 11.89 kB / 446.7 MB, free: 1.316 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.378e-05/0.1123, allocations: 48.38 kB / 446.7 MB, free: 1.27 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003927/0.1127, allocations: 435.9 kB / 447.2 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/0.1127, allocations: 12.31 kB / 447.2 MB, free: 0.793 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.88e-05/0.1127, allocations: 12.12 kB / 447.2 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002383/0.113, allocations: 135.3 kB / 447.3 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.113, allocations: 0 / 447.3 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.497e-05/0.113, allocations: 4 kB / 447.3 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.113, allocations: 4 kB / 447.3 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001789/0.1132, allocations: 71.94 kB / 447.4 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000765/0.114, allocations: 0.6604 MB / 448.1 MB, free: 15.84 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002182/0.1142, allocations: 105.2 kB / 448.2 MB, free: 15.72 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001139/0.1144, allocations: 49.81 kB / 448.2 MB, free: 15.66 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.627e-05/0.1144, allocations: 7.906 kB / 448.2 MB, free: 15.66 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.29e-05/0.1144, allocations: 42.44 kB / 448.3 MB, free: 15.61 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.503e-06/0.1144, allocations: 0 / 448.3 MB, free: 15.61 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.001391/0.1158, allocations: 0.4904 MB / 448.7 MB, free: 15.11 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.165e-05/0.1159, allocations: 85.05 kB / 448.8 MB, free: 15.01 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009032/0.1168, allocations: 0.8427 MB / 449.7 MB, free: 14.16 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.131e-05/0.1168, allocations: 29.7 kB / 449.7 MB, free: 14.12 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001766/0.117, allocations: 236.3 kB / 449.9 MB, free: 13.89 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.901e-05/0.1171, allocations: 55.2 kB / 450 MB, free: 13.83 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.896e-05/0.1172, allocations: 33.7 kB / 450 MB, free: 13.79 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001691/0.1173, allocations: 378.7 kB / 450.4 MB, free: 13.41 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001653/0.1175, allocations: 47.97 kB / 450.4 MB, free: 13.37 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000176/0.1177, allocations: 73.67 kB / 450.5 MB, free: 13.29 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003344/0.118, allocations: 133.7 kB / 450.6 MB, free: 13.15 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.118, allocations: 0 / 450.6 MB, free: 13.15 MB / 334.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004433/0.1185, allocations: 216.9 kB / 450.9 MB, free: 12.93 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.088e-05/0.1185, allocations: 4 kB / 450.9 MB, free: 12.93 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.1185, allocations: 0 / 450.9 MB, free: 12.93 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.1186, allocations: 4.75 kB / 450.9 MB, free: 12.93 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002067/0.1188, allocations: 51.89 kB / 450.9 MB, free: 12.88 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.1188, allocations: 0 / 450.9 MB, free: 12.88 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001252/0.1189, allocations: 11.94 kB / 450.9 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.811e-05/0.1189, allocations: 7.984 kB / 450.9 MB, free: 12.86 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.0002073/0.1192, allocations: 209.7 kB / 451.1 MB, free: 12.64 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.448e-05/0.1193, allocations: 51.34 kB / 451.2 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005805/0.1199, allocations: 274.3 kB / 451.5 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.1199, allocations: 7.938 kB / 451.5 MB, free: 12.31 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.87e-06/0.1199, allocations: 0 / 451.5 MB, free: 12.31 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.1199, allocations: 0 / 451.5 MB, free: 12.31 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001064/0.121, allocations: 0.7591 MB / 452.2 MB, free: 11.49 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.121, allocations: 0 / 452.2 MB, free: 11.49 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000162/0.1211, allocations: 35.97 kB / 452.3 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.1212, allocations: 3.938 kB / 452.3 MB, free: 11.45 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.751e-05/0.1212, allocations: 8 kB / 452.3 MB, free: 11.45 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.177e-06/0.1212, allocations: 7.938 kB / 452.3 MB, free: 11.44 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1212, allocations: 0 / 452.3 MB, free: 11.44 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005381/0.1217, allocations: 397.3 kB / 452.7 MB, free: 11.04 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001188/0.1219, allocations: 132.4 kB / 452.8 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.996e-05/0.1219, allocations: 11.98 kB / 452.8 MB, free: 10.88 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001749/0.1221, allocations: 11.94 kB / 452.8 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.713e-05/0.1222, allocations: 23.95 kB / 452.8 MB, free: 10.84 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.167e-05/0.1222, allocations: 4 kB / 452.8 MB, free: 10.84 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0006761/0.1229, allocations: 0.6198 MB / 453.5 MB, free: 10.22 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1229, allocations: 0 / 453.5 MB, free: 10.22 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003603/0.1233, allocations: 51.98 kB / 453.5 MB, free: 10.17 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.001044/0.1243, allocations: 402.1 kB / 453.9 MB, free: 9.844 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004481/0.1248, allocations: 152 kB / 454.1 MB, free: 9.695 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.1248, allocations: 0 / 454.1 MB, free: 9.695 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001805/0.125, allocations: 84.17 kB / 454.1 MB, free: 9.613 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006839/0.1257, allocations: 82.44 kB / 454.2 MB, free: 9.535 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001329/0.127, allocations: 0.8776 MB / 455.1 MB, free: 8.617 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004547/0.1275, allocations: 0.8418 MB / 455.9 MB, free: 7.75 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001109/0.1276, allocations: 43.41 kB / 456 MB, free: 7.707 MB / 334.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1276, allocations: 0 / 456 MB, free: 7.707 MB / 334.1 MB Notification: Performance of Templates: time 0.00905/0.1367, allocations: 5.333 MB / 461.3 MB, free: 2.371 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 -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