Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009981/0.0009982, allocations: 95.64 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001347/0.001347, allocations: 204.1 kB / 18.93 MB, free: 4.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.328/1.328, allocations: 227.7 MB / 247.5 MB, free: 11.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1947/0.1947, allocations: 46.18 MB / 345.9 MB, free: 11.43 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002592/0.0002592, allocations: 12 kB / 420.2 MB, free: 19.79 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1031, allocations: 63.57 MB / 483.7 MB, free: 4.203 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.002448/0.1056, allocations: 1.728 MB / 485.5 MB, free: 2.461 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002086/0.1077, allocations: 1.321 MB / 486.8 MB, free: 1.133 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001621/0.1079, allocations: 0 / 486.8 MB, free: 1.133 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002415/0.1081, allocations: 51.69 kB / 486.8 MB, free: 1.082 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004451/0.1086, allocations: 175.4 kB / 487 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001241/0.1098, allocations: 0.575 MB / 487.6 MB, free: 360 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004097/0.1102, allocations: 299.1 kB / 487.9 MB, free: 60 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001744/0.1104, allocations: 64.77 kB / 487.9 MB, free: 15.99 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000243/0.1107, allocations: 119.3 kB / 488.1 MB, free: 15.88 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002369/0.1109, allocations: 171.3 kB / 488.2 MB, free: 15.71 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.932e-05/0.111, allocations: 4 kB / 488.2 MB, free: 15.71 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001461/0.1111, allocations: 63.91 kB / 488.3 MB, free: 15.64 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001445/0.1113, allocations: 143.5 kB / 488.4 MB, free: 15.5 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001506/0.1114, allocations: 180.4 kB / 488.6 MB, free: 15.32 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003082/0.1117, allocations: 279.8 kB / 488.9 MB, free: 15.05 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.848e-06/0.1118, allocations: 0 / 488.9 MB, free: 15.05 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.1118, allocations: 4 kB / 488.9 MB, free: 15.04 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.069e-05/0.1118, allocations: 3.938 kB / 488.9 MB, free: 15.04 MB / 366.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.0008601/0.1126, allocations: 0.7077 MB / 489.6 MB, free: 14.28 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.1127, allocations: 12.88 kB / 489.6 MB, free: 14.27 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002996/0.113, allocations: 84.25 kB / 489.7 MB, free: 14.19 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005493/0.1136, allocations: 463.6 kB / 490.1 MB, free: 13.7 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.1136, allocations: 8.375 kB / 490.1 MB, free: 13.69 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.475e-05/0.1136, allocations: 24.02 kB / 490.2 MB, free: 13.66 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002864/0.1139, allocations: 147.2 kB / 490.3 MB, free: 13.51 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.1139, allocations: 7.938 kB / 490.3 MB, free: 13.5 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.442e-05/0.114, allocations: 0 / 490.3 MB, free: 13.5 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/0.114, allocations: 4 kB / 490.3 MB, free: 13.5 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002443/0.1142, allocations: 111.8 kB / 490.4 MB, free: 13.39 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009197/0.1151, allocations: 0.6878 MB / 491.1 MB, free: 12.64 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002146/0.1154, allocations: 125.2 kB / 491.2 MB, free: 12.5 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001077/0.1155, allocations: 45.83 kB / 491.3 MB, free: 12.45 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.721e-05/0.1155, allocations: 4 kB / 491.3 MB, free: 12.45 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/0.1156, allocations: 38.5 kB / 491.3 MB, free: 12.4 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.523e-06/0.1156, allocations: 7.938 kB / 491.3 MB, free: 12.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.001536/0.1171, allocations: 0.5721 MB / 491.9 MB, free: 11.81 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.291e-05/0.1172, allocations: 89.05 kB / 492 MB, free: 11.71 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009769/0.1182, allocations: 0.9063 MB / 492.9 MB, free: 10.79 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.29e-05/0.1182, allocations: 29.7 kB / 492.9 MB, free: 10.75 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001909/0.1184, allocations: 252.3 kB / 493.2 MB, free: 10.5 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.529e-05/0.1185, allocations: 59.19 kB / 493.2 MB, free: 10.44 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.727e-05/0.1185, allocations: 21.7 kB / 493.3 MB, free: 10.41 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.1187, allocations: 374.7 kB / 493.6 MB, free: 10.04 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001852/0.1189, allocations: 71.95 kB / 493.7 MB, free: 9.969 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000184/0.1191, allocations: 92.33 kB / 493.8 MB, free: 9.875 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003616/0.1194, allocations: 173.8 kB / 494 MB, free: 9.699 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.1194, allocations: 4 kB / 494 MB, free: 9.695 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005079/0.1199, allocations: 260.8 kB / 494.2 MB, free: 9.434 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.12, allocations: 4 kB / 494.2 MB, free: 9.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.12, allocations: 0 / 494.2 MB, free: 9.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.12, allocations: 11.98 kB / 494.2 MB, free: 9.418 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001987/0.1202, allocations: 43.91 kB / 494.3 MB, free: 9.375 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.1202, allocations: 0 / 494.3 MB, free: 9.375 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001327/0.1204, allocations: 12 kB / 494.3 MB, free: 9.363 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.958e-05/0.1204, allocations: 12.2 kB / 494.3 MB, free: 9.352 MB / 366.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.0001964/0.1206, allocations: 213.7 kB / 494.5 MB, free: 9.133 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.568e-05/0.1207, allocations: 63.19 kB / 494.6 MB, free: 9.07 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006073/0.1213, allocations: 311.3 kB / 494.9 MB, free: 8.758 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.1213, allocations: 0 / 494.9 MB, free: 8.758 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.1213, allocations: 0 / 494.9 MB, free: 8.758 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.1213, allocations: 4 kB / 494.9 MB, free: 8.754 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001106/0.1225, allocations: 0.8215 MB / 495.7 MB, free: 7.875 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.1225, allocations: 4 kB / 495.7 MB, free: 7.871 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001625/0.1226, allocations: 43.91 kB / 495.7 MB, free: 7.828 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/0.1227, allocations: 7.984 kB / 495.8 MB, free: 7.82 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.705e-05/0.1227, allocations: 7.984 kB / 495.8 MB, free: 7.812 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.438e-06/0.1227, allocations: 7.938 kB / 495.8 MB, free: 7.805 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1227, allocations: 0 / 495.8 MB, free: 7.805 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005337/0.1232, allocations: 438 kB / 496.2 MB, free: 7.359 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001358/0.1234, allocations: 148.3 kB / 496.3 MB, free: 7.195 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.561e-05/0.1234, allocations: 8 kB / 496.3 MB, free: 7.188 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001835/0.1236, allocations: 19.92 kB / 496.4 MB, free: 7.168 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.782e-05/0.1237, allocations: 11.98 kB / 496.4 MB, free: 7.156 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.31e-05/0.1237, allocations: 8 kB / 496.4 MB, free: 7.148 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007423/0.1244, allocations: 0.6591 MB / 497 MB, free: 6.496 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1245, allocations: 0 / 497 MB, free: 6.496 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003508/0.1248, allocations: 59.98 kB / 497.1 MB, free: 6.438 MB / 366.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.0009542/0.1258, allocations: 397.2 kB / 497.5 MB, free: 6.176 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004398/0.1262, allocations: 171.8 kB / 497.7 MB, free: 6.008 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1262, allocations: 4 kB / 497.7 MB, free: 6.004 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002359/0.1265, allocations: 91.88 kB / 497.8 MB, free: 5.914 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006166/0.1271, allocations: 77.3 kB / 497.8 MB, free: 5.84 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001613/0.1287, allocations: 1.083 MB / 498.9 MB, free: 4.723 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005455/0.1293, allocations: 0.8616 MB / 499.8 MB, free: 3.836 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001182/0.1294, allocations: 39.42 kB / 499.8 MB, free: 3.797 MB / 366.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1294, allocations: 4 kB / 499.8 MB, free: 3.793 MB / 366.1 MB Notification: Performance of Templates: time 0.00945/0.1389, allocations: 5.736 MB / 0.4937 GB, free: 14.07 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches