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.0009185/0.0009186, allocations: 96.28 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009321/0.0009321, allocations: 176.5 kB / 16.57 MB, free: 6.391 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.316/1.316, allocations: 205.4 MB / 222.7 MB, free: 5.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3085/0.3085, allocations: 43.55 MB / 314.5 MB, free: 8.773 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.0004569/0.0004569, allocations: 20 kB / 383.9 MB, free: 8.039 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1052, allocations: 58.85 MB / 442.7 MB, free: 13.08 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test22): time 0.002037/0.1072, allocations: 1.607 MB / 444.4 MB, free: 11.46 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001152/0.1084, allocations: 0.8357 MB / 445.2 MB, free: 10.62 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.262e-05/0.1085, allocations: 4 kB / 445.2 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001605/0.1087, allocations: 27.78 kB / 445.2 MB, free: 10.59 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002599/0.1089, allocations: 131.6 kB / 445.4 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007323/0.1097, allocations: 367.3 kB / 445.7 MB, free: 10.1 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002222/0.1099, allocations: 159.6 kB / 445.9 MB, free: 9.941 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001289/0.11, allocations: 56.34 kB / 445.9 MB, free: 9.887 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000141/0.1102, allocations: 99.59 kB / 446 MB, free: 9.789 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001793/0.1104, allocations: 139.5 kB / 446.2 MB, free: 9.652 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.649e-05/0.1104, allocations: 8 kB / 446.2 MB, free: 9.645 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.628e-05/0.1105, allocations: 19.94 kB / 446.2 MB, free: 9.625 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001287/0.1106, allocations: 127.6 kB / 446.3 MB, free: 9.5 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.418e-05/0.1107, allocations: 77.39 kB / 446.4 MB, free: 9.418 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002414/0.1109, allocations: 263.8 kB / 446.6 MB, free: 9.16 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.1109, allocations: 4 kB / 446.6 MB, free: 9.156 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1109, allocations: 0 / 446.6 MB, free: 9.156 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.111, allocations: 0 / 446.6 MB, free: 9.156 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.0008115/0.1118, allocations: 0.7075 MB / 447.4 MB, free: 8.398 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.907e-05/0.1118, allocations: 8.031 kB / 447.4 MB, free: 8.391 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.841e-05/0.1119, allocations: 51.34 kB / 447.4 MB, free: 8.34 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004993/0.1124, allocations: 427 kB / 447.8 MB, free: 7.883 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/0.1124, allocations: 12 kB / 447.8 MB, free: 7.871 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.534e-05/0.1124, allocations: 12 kB / 447.8 MB, free: 7.859 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002403/0.1127, allocations: 127.3 kB / 448 MB, free: 7.723 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.1127, allocations: 0 / 448 MB, free: 7.723 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.762e-05/0.1127, allocations: 4 kB / 448 MB, free: 7.719 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-06/0.1127, allocations: 7.953 kB / 448 MB, free: 7.711 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001878/0.1129, allocations: 91.89 kB / 448.1 MB, free: 7.621 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008064/0.1137, allocations: 0.6799 MB / 448.8 MB, free: 6.887 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001805/0.1139, allocations: 113.2 kB / 448.9 MB, free: 6.758 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.001e-05/0.114, allocations: 0 / 448.9 MB, free: 6.758 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.287e-05/0.114, allocations: 38.69 kB / 448.9 MB, free: 6.711 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.022e-06/0.114, allocations: 0 / 448.9 MB, free: 6.711 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.001224/0.1152, allocations: 0.545 MB / 449.4 MB, free: 6.156 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.12e-05/0.1153, allocations: 85.06 kB / 449.5 MB, free: 6.055 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000834/0.1161, allocations: 0.8701 MB / 450.4 MB, free: 5.172 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.027e-05/0.1162, allocations: 29.92 kB / 450.4 MB, free: 5.137 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001932/0.1164, allocations: 248.2 kB / 450.7 MB, free: 4.887 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.3e-05/0.1164, allocations: 59.19 kB / 450.7 MB, free: 4.828 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.947e-06/0.1164, allocations: 4 kB / 450.7 MB, free: 4.824 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.1166, allocations: 362.8 kB / 451.1 MB, free: 4.461 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000149/0.1167, allocations: 67.95 kB / 451.2 MB, free: 4.395 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001473/0.1169, allocations: 81.61 kB / 451.2 MB, free: 4.309 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001617/0.117, allocations: 79.97 kB / 451.3 MB, free: 4.23 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.117, allocations: 0 / 451.3 MB, free: 4.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000408/0.1175, allocations: 229 kB / 451.5 MB, free: 4 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.1175, allocations: 4 kB / 451.5 MB, free: 3.996 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.1175, allocations: 0 / 451.5 MB, free: 3.996 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.018e-05/0.1175, allocations: 3.938 kB / 451.5 MB, free: 3.992 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001846/0.1177, allocations: 47.91 kB / 451.6 MB, free: 3.945 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.1177, allocations: 11.95 kB / 451.6 MB, free: 3.934 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001287/0.1179, allocations: 16.73 kB / 451.6 MB, free: 3.918 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.357e-05/0.1179, allocations: 7.984 kB / 451.6 MB, free: 3.91 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001761/0.1181, allocations: 205.8 kB / 451.8 MB, free: 3.699 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.068e-05/0.1181, allocations: 55.25 kB / 451.9 MB, free: 3.645 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000521/0.1187, allocations: 286.2 kB / 452.2 MB, free: 3.355 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.1187, allocations: 4 kB / 452.2 MB, free: 3.352 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.1187, allocations: 4 kB / 452.2 MB, free: 3.348 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.1187, allocations: 3.953 kB / 452.2 MB, free: 3.344 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001005/0.1197, allocations: 0.7864 MB / 453 MB, free: 2.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.1197, allocations: 4 kB / 453 MB, free: 2.496 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001506/0.1199, allocations: 39.97 kB / 453 MB, free: 2.457 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.1199, allocations: 4 kB / 453 MB, free: 2.453 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.1199, allocations: 7.953 kB / 453 MB, free: 2.445 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.1199, allocations: 4 kB / 453 MB, free: 2.441 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1199, allocations: 0 / 453 MB, free: 2.441 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004737/0.1204, allocations: 427.5 kB / 453.4 MB, free: 2.004 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001685/0.1206, allocations: 160.4 kB / 453.6 MB, free: 1.828 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.312e-05/0.1206, allocations: 0 / 453.6 MB, free: 1.828 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001893/0.1208, allocations: 19.98 kB / 453.6 MB, free: 1.809 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.253e-05/0.1209, allocations: 11.98 kB / 453.6 MB, free: 1.797 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.172e-05/0.1209, allocations: 8 kB / 453.6 MB, free: 1.789 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006198/0.1215, allocations: 0.6432 MB / 454.3 MB, free: 1.148 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1215, allocations: 0 / 454.3 MB, free: 1.148 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003168/0.1218, allocations: 48 kB / 454.3 MB, free: 1.102 MB / 382.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 (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.0008317/0.1227, allocations: 410.4 kB / 454.7 MB, free: 0.7266 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003632/0.1231, allocations: 155.9 kB / 454.9 MB, free: 0.5742 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1231, allocations: 0 / 454.9 MB, free: 0.5742 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001777/0.1233, allocations: 95.83 kB / 455 MB, free: 492 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003892/0.1237, allocations: 58.28 kB / 455 MB, free: 436 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1746/0.2982, allocations: 0.9293 MB / 456 MB, free: 46.34 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003092/0.2986, allocations: 0.862 MB / 456.8 MB, free: 45.65 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002086/0.2988, allocations: 81.45 kB / 456.9 MB, free: 45.65 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.847e-05/0.2989, allocations: 38.97 kB / 456.9 MB, free: 45.64 MB / 382.1 MB Notification: Performance of SimCode: time 1.112e-06/0.2989, allocations: 0.7188 kB / 456.9 MB, free: 45.64 MB / 382.1 MB Notification: Performance of Templates: time 0.006665/0.3056, allocations: 3.749 MB / 460.7 MB, free: 45.47 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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