Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001123/0.001123, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001341/0.001341, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.314/1.314, allocations: 227.4 MB / 246.9 MB, free: 10.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1996/0.1996, allocations: 46.11 MB / 344.3 MB, free: 11.8 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 81.11 kB / 417.5 MB, free: 20.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1041, allocations: 62.44 MB / 479.9 MB, free: 5.727 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.002815/0.107, allocations: 1.657 MB / 481.6 MB, free: 4.055 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008644/0.1079, allocations: 0.534 MB / 482.1 MB, free: 3.516 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.734e-05/0.1079, allocations: 3.938 kB / 482.1 MB, free: 3.512 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001764/0.1081, allocations: 27.91 kB / 482.2 MB, free: 3.484 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001828/0.1083, allocations: 63.7 kB / 482.2 MB, free: 3.422 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002545/0.1085, allocations: 99.19 kB / 482.3 MB, free: 3.328 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001191/0.1087, allocations: 63.83 kB / 482.4 MB, free: 3.266 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.1088, allocations: 19.98 kB / 482.4 MB, free: 3.246 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.891e-05/0.1088, allocations: 15.88 kB / 482.4 MB, free: 3.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.625e-05/0.1089, allocations: 23.86 kB / 482.4 MB, free: 3.207 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.212e-05/0.1089, allocations: 0 / 482.4 MB, free: 3.207 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.042e-05/0.109, allocations: 39.97 kB / 482.5 MB, free: 3.168 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.22e-05/0.109, allocations: 4 kB / 482.5 MB, free: 3.164 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.607e-05/0.1091, allocations: 23.8 kB / 482.5 MB, free: 3.141 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001084/0.1092, allocations: 63.86 kB / 482.6 MB, free: 3.078 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1092, allocations: 0 / 482.6 MB, free: 3.078 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.61e-07/0.1092, allocations: 0 / 482.6 MB, free: 3.078 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.677e-06/0.1092, allocations: 4 kB / 482.6 MB, free: 3.074 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004387/0.1097, allocations: 387.4 kB / 482.9 MB, free: 2.648 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.214e-05/0.1097, allocations: 8.875 kB / 483 MB, free: 2.641 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.407e-05/0.1097, allocations: 8.844 kB / 483 MB, free: 2.633 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000166/0.1099, allocations: 184.3 kB / 483.1 MB, free: 2.414 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.698e-06/0.1099, allocations: 4.359 kB / 483.1 MB, free: 2.41 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.09e-05/0.11, allocations: 4.375 kB / 483.2 MB, free: 2.406 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001271/0.1101, allocations: 53.81 kB / 483.2 MB, free: 2.348 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.1101, allocations: 7.844 kB / 483.2 MB, free: 2.34 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.1101, allocations: 4 kB / 483.2 MB, free: 2.336 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.1101, allocations: 0 / 483.2 MB, free: 2.336 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.006e-05/0.1102, allocations: 23.97 kB / 483.2 MB, free: 2.312 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003599/0.1106, allocations: 276.9 kB / 483.5 MB, free: 1.992 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001945/0.1108, allocations: 54.5 kB / 483.6 MB, free: 1.93 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.13e-05/0.1109, allocations: 16.94 kB / 483.6 MB, free: 1.91 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.84e-05/0.1109, allocations: 0 / 483.6 MB, free: 1.91 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.876e-05/0.1109, allocations: 30.56 kB / 483.6 MB, free: 1.871 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.21e-07/0.1109, allocations: 0 / 483.6 MB, free: 1.871 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.000539/0.1115, allocations: 157.3 kB / 483.8 MB, free: 1.711 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.56e-05/0.1115, allocations: 59.41 kB / 483.8 MB, free: 1.641 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001305/0.1116, allocations: 150.1 kB / 484 MB, free: 1.484 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.356e-05/0.1117, allocations: 25.7 kB / 484 MB, free: 1.453 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.486e-05/0.1117, allocations: 92.14 kB / 484.1 MB, free: 1.359 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.255e-05/0.1117, allocations: 19.8 kB / 484.1 MB, free: 1.34 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.313e-05/0.1118, allocations: 17.72 kB / 484.1 MB, free: 1.316 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.1119, allocations: 318.8 kB / 484.4 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.381e-05/0.112, allocations: 23.98 kB / 484.5 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.021e-05/0.112, allocations: 23.92 kB / 484.5 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000131/0.1122, allocations: 52.83 kB / 484.5 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.1122, allocations: 0 / 484.5 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001946/0.1124, allocations: 93.69 kB / 484.6 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.1124, allocations: 11.94 kB / 484.6 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.1124, allocations: 4 kB / 484.6 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.042e-05/0.1124, allocations: 0 / 484.6 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.296e-05/0.1125, allocations: 11.98 kB / 484.6 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/0.1125, allocations: 4 kB / 484.7 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.735e-05/0.1126, allocations: 0 / 484.7 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.009e-05/0.1126, allocations: 7.984 kB / 484.7 MB, free: 0.7578 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 (5): * Single equations (assignments): 5 * 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.447e-05/0.1127, allocations: 117.8 kB / 484.8 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.653e-05/0.1127, allocations: 11.91 kB / 484.8 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002678/0.113, allocations: 109.8 kB / 484.9 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.113, allocations: 0 / 484.9 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.113, allocations: 0 / 484.9 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.113, allocations: 0 / 484.9 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004285/0.1134, allocations: 358.4 kB / 485.2 MB, free: 104 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.1134, allocations: 0 / 485.2 MB, free: 104 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.239e-05/0.1135, allocations: 23.92 kB / 485.3 MB, free: 80 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.1135, allocations: 0 / 485.3 MB, free: 80 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.1135, allocations: 0 / 485.3 MB, free: 80 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.1135, allocations: 3.938 kB / 485.3 MB, free: 76 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1135, allocations: 0 / 485.3 MB, free: 76 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002488/0.1138, allocations: 179.4 kB / 485.4 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.277e-05/0.1139, allocations: 81.11 kB / 485.5 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.958e-05/0.1139, allocations: 8.25 kB / 485.5 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.338e-05/0.114, allocations: 15.92 kB / 485.5 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.241e-05/0.114, allocations: 0 / 485.5 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.882e-06/0.114, allocations: 4 kB / 485.6 MB, free: 15.76 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.416e-05/0.1141, allocations: 117.5 kB / 485.7 MB, free: 15.64 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1141, allocations: 0 / 485.7 MB, free: 15.64 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002414/0.1144, allocations: 12 kB / 485.7 MB, free: 15.63 MB / 366.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 (5): * Single equations (assignments): 5 * 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.001014/0.1154, allocations: 403.9 kB / 486.1 MB, free: 15.37 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002027/0.1156, allocations: 47.97 kB / 486.1 MB, free: 15.32 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.1156, allocations: 0 / 486.1 MB, free: 15.32 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.985e-05/0.1157, allocations: 31.91 kB / 486.1 MB, free: 15.29 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000318/0.116, allocations: 15.98 kB / 486.2 MB, free: 15.28 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004446/0.1165, allocations: 233.5 kB / 486.4 MB, free: 15.01 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002811/0.1168, allocations: 0.6926 MB / 487.1 MB, free: 14.29 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.464e-05/0.1168, allocations: 15.42 kB / 487.1 MB, free: 14.28 MB / 366.1 MB Notification: Performance of SimCode: time 1.683e-06/0.1168, allocations: 0 / 487.1 MB, free: 14.28 MB / 366.1 MB Notification: Performance of Templates: time 0.003014/0.1198, allocations: 1.462 MB / 488.6 MB, free: 12.81 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches