Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.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.CombiTable1Dv.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007871/0.0007871, allocations: 96.11 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.0009547/0.0009547, allocations: 205.9 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.294/1.294, allocations: 227.7 MB / 247.5 MB, free: 9.695 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1857/0.1857, allocations: 46.19 MB / 345.9 MB, free: 11.19 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002686/0.0002686, allocations: 11.98 kB / 420.2 MB, free: 19.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1073, allocations: 63.56 MB / 483.7 MB, free: 4.148 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test32): time 0.002134/0.1095, allocations: 1.334 MB / 485.1 MB, free: 2.805 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001044/0.1106, allocations: 0.5262 MB / 485.6 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.981e-05/0.1107, allocations: 4 kB / 485.6 MB, free: 2.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000357/0.111, allocations: 107.8 kB / 485.7 MB, free: 2.164 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002739/0.1113, allocations: 103.7 kB / 485.8 MB, free: 2.062 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003548/0.1117, allocations: 98.94 kB / 485.9 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001884/0.1119, allocations: 79.86 kB / 486 MB, free: 1.891 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.112, allocations: 19.94 kB / 486 MB, free: 1.871 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.178e-05/0.1121, allocations: 47.77 kB / 486 MB, free: 1.824 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001372/0.1122, allocations: 67.8 kB / 486.1 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.549e-05/0.1123, allocations: 0 / 486.1 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001132/0.1124, allocations: 43.98 kB / 486.2 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.707e-05/0.1125, allocations: 15.92 kB / 486.2 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.283e-05/0.1125, allocations: 61.39 kB / 486.2 MB, free: 1.633 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001643/0.1127, allocations: 79.88 kB / 486.3 MB, free: 1.555 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.1127, allocations: 0 / 486.3 MB, free: 1.555 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.1127, allocations: 0 / 486.3 MB, free: 1.555 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.458e-06/0.1127, allocations: 4 kB / 486.3 MB, free: 1.551 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004862/0.1132, allocations: 421.4 kB / 486.7 MB, free: 1.094 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.579e-05/0.1133, allocations: 8.875 kB / 486.7 MB, free: 1.086 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.303e-05/0.1133, allocations: 16.75 kB / 486.7 MB, free: 1.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002556/0.1136, allocations: 208.8 kB / 487 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.1136, allocations: 8.375 kB / 487 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.174e-05/0.1136, allocations: 384 / 487 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001554/0.1138, allocations: 65.8 kB / 487 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.1138, allocations: 0 / 487 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.328e-06/0.1138, allocations: 0 / 487 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.1138, allocations: 4 kB / 487 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001073/0.114, allocations: 31.91 kB / 487.1 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004439/0.1144, allocations: 312.8 kB / 487.4 MB, free: 364 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001085/0.1145, allocations: 50.55 kB / 487.4 MB, free: 304 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.858e-05/0.1146, allocations: 24.88 kB / 487.4 MB, free: 276 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.285e-05/0.1146, allocations: 0 / 487.4 MB, free: 276 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/0.1147, allocations: 34.56 kB / 487.5 MB, free: 232 kB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.1147, allocations: 4 kB / 487.5 MB, free: 228 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.00101/0.1157, allocations: 277 kB / 487.7 MB, free: 15.94 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.884e-05/0.1158, allocations: 51.41 kB / 487.8 MB, free: 15.88 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002559/0.1161, allocations: 262.1 kB / 488.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.78e-05/0.1161, allocations: 29.7 kB / 488.1 MB, free: 15.58 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.632e-05/0.1162, allocations: 112.1 kB / 488.2 MB, free: 15.46 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.004e-05/0.1163, allocations: 27.56 kB / 488.2 MB, free: 15.44 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.044e-05/0.1163, allocations: 9.719 kB / 488.2 MB, free: 15.42 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.1165, allocations: 330.8 kB / 488.6 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.267e-05/0.1166, allocations: 27.98 kB / 488.6 MB, free: 15.06 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.863e-05/0.1167, allocations: 51.94 kB / 488.6 MB, free: 15.02 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002086/0.1169, allocations: 84.7 kB / 488.7 MB, free: 14.93 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.1169, allocations: 0 / 488.7 MB, free: 14.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002414/0.1171, allocations: 121.6 kB / 488.8 MB, free: 14.8 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.1172, allocations: 7.984 kB / 488.8 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.1172, allocations: 3.938 kB / 488.8 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.1172, allocations: 0 / 488.8 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.1173, allocations: 16 kB / 488.9 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.1173, allocations: 3.984 kB / 488.9 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.408e-05/0.1174, allocations: 11.94 kB / 488.9 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.617e-05/0.1174, allocations: 8 kB / 488.9 MB, free: 14.75 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (8): * Single equations (assignments): 8 * 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.0001106/0.1175, allocations: 137.8 kB / 489 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.489e-05/0.1176, allocations: 11.81 kB / 489 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003115/0.1179, allocations: 139 kB / 489.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.1179, allocations: 8 kB / 489.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.1179, allocations: 0 / 489.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.1179, allocations: 3.938 kB / 489.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005553/0.1185, allocations: 431.2 kB / 489.6 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.1185, allocations: 4.031 kB / 489.6 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.879e-05/0.1186, allocations: 19.98 kB / 489.6 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.1186, allocations: 7.875 kB / 489.6 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.1186, allocations: 4 kB / 489.6 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.1186, allocations: 4 kB / 489.6 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.1186, allocations: 3.984 kB / 489.6 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000294/0.1189, allocations: 220.7 kB / 489.9 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.189e-05/0.119, allocations: 92.86 kB / 489.9 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.067e-05/0.119, allocations: 3.984 kB / 489.9 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.025e-05/0.1191, allocations: 12 kB / 490 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.689e-05/0.1192, allocations: 3.984 kB / 490 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.855e-06/0.1192, allocations: 8 kB / 490 MB, free: 13.55 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001631/0.1193, allocations: 188.4 kB / 490.2 MB, free: 13.37 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1193, allocations: 0 / 490.2 MB, free: 13.37 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002873/0.1196, allocations: 24 kB / 490.2 MB, free: 13.34 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 (8): * Single equations (assignments): 8 * 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.001106/0.1207, allocations: 454.7 kB / 490.6 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002376/0.121, allocations: 79.95 kB / 490.7 MB, free: 12.98 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.121, allocations: 0 / 490.7 MB, free: 12.98 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001045/0.1211, allocations: 51.97 kB / 490.8 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000339/0.1215, allocations: 19.92 kB / 490.8 MB, free: 12.91 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000632/0.1221, allocations: 368.2 kB / 491.1 MB, free: 12.52 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004128/0.1225, allocations: 0.7179 MB / 491.8 MB, free: 11.77 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.803e-05/0.1226, allocations: 15.38 kB / 491.9 MB, free: 11.76 MB / 366.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1226, allocations: 4 kB / 491.9 MB, free: 11.75 MB / 366.1 MB Notification: Performance of Templates: time 0.004219/0.1268, allocations: 1.882 MB / 493.7 MB, free: 9.867 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test32/Test32.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches