Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.CombiTable2Dv.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001024/0.001024, allocations: 104.1 kB / 17.64 MB, free: 5.48 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.001015/0.001015, allocations: 192 kB / 18.55 MB, free: 4.566 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.292/1.292, allocations: 222.9 MB / 242.2 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2193/0.2193, allocations: 44.18 MB / 336.6 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 62.25 kB / 408.4 MB, free: 27.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1084, allocations: 60.82 MB / 469.3 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test11): time 0.003075/0.1115, allocations: 1.611 MB / 470.9 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001483/0.113, allocations: 1.062 MB / 471.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.064e-05/0.1131, allocations: 0 / 471.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002056/0.1133, allocations: 19.86 kB / 471.9 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000235/0.1136, allocations: 43.72 kB / 472 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004689/0.1141, allocations: 182.1 kB / 472.2 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000172/0.1142, allocations: 67.83 kB / 472.2 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001466/0.1144, allocations: 23.98 kB / 472.3 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.946e-05/0.1145, allocations: 23.86 kB / 472.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001425/0.1146, allocations: 35.84 kB / 472.3 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.309e-05/0.1147, allocations: 4 kB / 472.3 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000134/0.1148, allocations: 51.97 kB / 472.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.148e-05/0.1149, allocations: 19.92 kB / 472.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.112e-05/0.1149, allocations: 23.86 kB / 472.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002097/0.1151, allocations: 96.03 kB / 472.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1151, allocations: 0 / 472.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.1152, allocations: 0 / 472.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.1152, allocations: 7.938 kB / 472.5 MB, free: 11.08 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.0004874/0.1157, allocations: 387.2 kB / 472.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.1157, allocations: 8.031 kB / 472.9 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.692e-05/0.1158, allocations: 8.844 kB / 472.9 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002054/0.116, allocations: 192.3 kB / 473.1 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.733e-06/0.116, allocations: 384 / 473.1 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.468e-05/0.116, allocations: 4.375 kB / 473.1 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001939/0.1162, allocations: 83.52 kB / 473.2 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.1162, allocations: 0 / 473.2 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.1163, allocations: 4 kB / 473.2 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.1163, allocations: 0 / 473.2 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001337/0.1164, allocations: 43.89 kB / 473.2 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004119/0.1168, allocations: 308.7 kB / 473.5 MB, free: 9.918 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001371/0.117, allocations: 46.56 kB / 473.6 MB, free: 9.863 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.336e-05/0.117, allocations: 24.94 kB / 473.6 MB, free: 9.836 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.197e-05/0.1171, allocations: 7.938 kB / 473.6 MB, free: 9.828 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.586e-05/0.1171, allocations: 30.56 kB / 473.6 MB, free: 9.789 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.1171, allocations: 0 / 473.6 MB, free: 9.789 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007811/0.1179, allocations: 225.1 kB / 473.9 MB, free: 9.562 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.627e-05/0.118, allocations: 77.11 kB / 473.9 MB, free: 9.469 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001293/0.1181, allocations: 140.8 kB / 474.1 MB, free: 9.324 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.519e-05/0.1181, allocations: 29.7 kB / 474.1 MB, free: 9.289 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.055e-05/0.1182, allocations: 100.1 kB / 474.2 MB, free: 9.188 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.469e-05/0.1182, allocations: 23.66 kB / 474.2 MB, free: 9.164 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.816e-05/0.1182, allocations: 21.7 kB / 474.2 MB, free: 9.137 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.905e-05/0.1184, allocations: 322.8 kB / 474.6 MB, free: 8.812 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001101/0.1185, allocations: 35.95 kB / 474.6 MB, free: 8.777 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001216/0.1186, allocations: 57.75 kB / 474.6 MB, free: 8.715 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002045/0.1188, allocations: 88.86 kB / 474.7 MB, free: 8.625 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-06/0.1188, allocations: 7.938 kB / 474.7 MB, free: 8.617 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000272/0.1191, allocations: 121.5 kB / 474.9 MB, free: 8.492 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.1191, allocations: 8.031 kB / 474.9 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.1191, allocations: 0 / 474.9 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.1191, allocations: 4 kB / 474.9 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001108/0.1193, allocations: 19.98 kB / 474.9 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.1193, allocations: 0 / 474.9 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.959e-05/0.1193, allocations: 15.92 kB / 474.9 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-06/0.1194, allocations: 0 / 474.9 MB, free: 8.445 MB / 350.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 (7): * Single equations (assignments): 7 * 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 7.516e-05/0.1194, allocations: 117.8 kB / 475 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.298e-05/0.1195, allocations: 11.91 kB / 475 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003334/0.1198, allocations: 138.2 kB / 475.2 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.1198, allocations: 0 / 475.2 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.1198, allocations: 0 / 475.2 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.401e-06/0.1198, allocations: 7.922 kB / 475.2 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004953/0.1203, allocations: 406.5 kB / 475.6 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.1204, allocations: 7.938 kB / 475.6 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.416e-05/0.1204, allocations: 15.98 kB / 475.6 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.1204, allocations: 0 / 475.6 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.1205, allocations: 7.938 kB / 475.6 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.1205, allocations: 0 / 475.6 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1205, allocations: 0 / 475.6 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003008/0.1208, allocations: 223.8 kB / 475.8 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.089e-05/0.1208, allocations: 81.02 kB / 475.9 MB, free: 7.344 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.217e-05/0.1209, allocations: 7.938 kB / 475.9 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.161e-05/0.1209, allocations: 15.98 kB / 475.9 MB, free: 7.32 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.774e-05/0.121, allocations: 7.984 kB / 475.9 MB, free: 7.312 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.671e-06/0.121, allocations: 0 / 475.9 MB, free: 7.312 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.818e-05/0.1211, allocations: 115.1 kB / 476 MB, free: 7.199 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1211, allocations: 0 / 476 MB, free: 7.199 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002467/0.1213, allocations: 24 kB / 476.1 MB, free: 7.176 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (7): * Single equations (assignments): 7 * 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.0009248/0.1223, allocations: 445 kB / 476.5 MB, free: 6.91 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000305/0.1226, allocations: 99.84 kB / 476.6 MB, free: 6.812 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.1226, allocations: 4 kB / 476.6 MB, free: 6.809 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001204/0.1227, allocations: 47.91 kB / 476.7 MB, free: 6.762 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000331/0.1231, allocations: 19.92 kB / 476.7 MB, free: 6.742 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004399/0.1235, allocations: 202.3 kB / 476.9 MB, free: 6.512 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002589/0.1238, allocations: 0.6963 MB / 477.6 MB, free: 5.789 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.203e-05/0.1239, allocations: 28.23 kB / 477.6 MB, free: 5.762 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.137e-05/0.1239, allocations: 19.42 kB / 477.6 MB, free: 5.742 MB / 350.1 MB Notification: Performance of SimCode: time 1.452e-06/0.1239, allocations: 0 / 477.6 MB, free: 5.742 MB / 350.1 MB Notification: Performance of Templates: time 0.00389/0.1278, allocations: 1.523 MB / 479.1 MB, free: 4.227 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test11/Test11.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches