Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.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.CombiTable1Ds.Test27,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_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test27,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_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 106.1 kB / 18.3 MB, free: 4.887 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.001268/0.001267, allocations: 195.3 kB / 19.23 MB, free: 3.961 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.371/1.371, allocations: 222.9 MB / 242.9 MB, free: 15.2 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.2195/0.2195, allocations: 44.18 MB / 337.3 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 65.72 kB / 409.1 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.105, allocations: 60.83 MB / 469.9 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test27): time 0.003184/0.1082, allocations: 1.568 MB / 471.5 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007804/0.109, allocations: 403.2 kB / 471.9 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.243e-05/0.1091, allocations: 3.938 kB / 471.9 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002877/0.1094, allocations: 127.7 kB / 472 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002198/0.1097, allocations: 83.77 kB / 472.1 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002729/0.11, allocations: 91.7 kB / 472.2 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001484/0.1101, allocations: 83.8 kB / 472.3 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.714e-05/0.1102, allocations: 16.17 kB / 472.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.52e-05/0.1103, allocations: 51.83 kB / 472.3 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001412/0.1105, allocations: 83.72 kB / 472.4 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.051e-05/0.1105, allocations: 4 kB / 472.4 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001033/0.1106, allocations: 43.98 kB / 472.5 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.004e-05/0.1107, allocations: 27.91 kB / 472.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.527e-05/0.1107, allocations: 35.69 kB / 472.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001849/0.1109, allocations: 115.9 kB / 472.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1109, allocations: 0 / 472.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1109, allocations: 0 / 472.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.1109, allocations: 4 kB / 472.6 MB, free: 11.63 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.0005305/0.1115, allocations: 426.8 kB / 473.1 MB, free: 11.17 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.1115, allocations: 8.031 kB / 473.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.855e-05/0.1116, allocations: 8.844 kB / 473.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002135/0.1118, allocations: 215.8 kB / 473.3 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.278e-06/0.1118, allocations: 384 / 473.3 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.155e-05/0.1118, allocations: 4.375 kB / 473.3 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001546/0.112, allocations: 57.61 kB / 473.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.112, allocations: 4 kB / 473.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.112, allocations: 0 / 473.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.112, allocations: 0 / 473.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.661e-05/0.1121, allocations: 23.98 kB / 473.4 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000379/0.1125, allocations: 308.6 kB / 473.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001127/0.1127, allocations: 54.55 kB / 473.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.057e-05/0.1127, allocations: 8.859 kB / 473.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.186e-05/0.1128, allocations: 4 kB / 473.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.666e-05/0.1128, allocations: 38.56 kB / 473.8 MB, free: 10.33 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.173e-06/0.1128, allocations: 0 / 473.8 MB, free: 10.33 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000889/0.1137, allocations: 233 kB / 474 MB, free: 10.1 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.577e-05/0.1137, allocations: 51.41 kB / 474.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00024/0.114, allocations: 278.2 kB / 474.3 MB, free: 9.754 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.562e-05/0.114, allocations: 25.7 kB / 474.4 MB, free: 9.723 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.705e-05/0.1141, allocations: 116 kB / 474.5 MB, free: 9.605 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.398e-05/0.1141, allocations: 27.64 kB / 474.5 MB, free: 9.578 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.423e-05/0.1142, allocations: 17.72 kB / 474.5 MB, free: 9.555 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.1143, allocations: 326.8 kB / 474.8 MB, free: 9.227 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.313e-05/0.1144, allocations: 31.97 kB / 474.9 MB, free: 9.195 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.545e-05/0.1145, allocations: 19.98 kB / 474.9 MB, free: 9.176 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001458/0.1146, allocations: 60.83 kB / 474.9 MB, free: 9.113 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.1146, allocations: 0 / 474.9 MB, free: 9.113 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002187/0.1149, allocations: 113.4 kB / 475.1 MB, free: 8.996 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.1149, allocations: 7.938 kB / 475.1 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.1149, allocations: 0 / 475.1 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.1149, allocations: 0 / 475.1 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.115, allocations: 19.98 kB / 475.1 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.817e-06/0.115, allocations: 3.938 kB / 475.1 MB, free: 8.965 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.557e-05/0.1151, allocations: 7.984 kB / 475.1 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.642e-06/0.1151, allocations: 0 / 475.1 MB, free: 8.957 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 (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.0001026/0.1152, allocations: 137.8 kB / 475.2 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.852e-05/0.1153, allocations: 15.81 kB / 475.2 MB, free: 8.797 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002634/0.1155, allocations: 123 kB / 475.4 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.1155, allocations: 0 / 475.4 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.1156, allocations: 3.938 kB / 475.4 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.1156, allocations: 0 / 475.4 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004918/0.1161, allocations: 411.3 kB / 475.8 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.1161, allocations: 0 / 475.8 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.625e-05/0.1161, allocations: 19.92 kB / 475.8 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.726e-06/0.1162, allocations: 4 kB / 475.8 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.686e-06/0.1162, allocations: 0 / 475.8 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1162, allocations: 0 / 475.8 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.1162, allocations: 4.469 kB / 475.8 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002427/0.1164, allocations: 212.1 kB / 476 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.55e-05/0.1165, allocations: 92.86 kB / 476.1 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.554e-05/0.1165, allocations: 11.94 kB / 476.1 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.393e-05/0.1166, allocations: 7.984 kB / 476.1 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.705e-05/0.1166, allocations: 4 kB / 476.1 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.619e-06/0.1166, allocations: 0 / 476.1 MB, free: 7.824 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001681/0.1168, allocations: 207.2 kB / 476.3 MB, free: 7.621 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1168, allocations: 0 / 476.3 MB, free: 7.621 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002627/0.1171, allocations: 24 kB / 476.3 MB, free: 7.598 MB / 350.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.001035/0.1181, allocations: 461 kB / 476.8 MB, free: 7.324 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00023/0.1184, allocations: 71.89 kB / 476.9 MB, free: 7.254 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1184, allocations: 0 / 476.9 MB, free: 7.254 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.502e-05/0.1185, allocations: 35.92 kB / 476.9 MB, free: 7.219 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003822/0.1189, allocations: 19.92 kB / 476.9 MB, free: 7.199 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005637/0.1194, allocations: 329.1 kB / 477.2 MB, free: 6.84 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002966/0.1198, allocations: 0.7197 MB / 478 MB, free: 6.094 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.07e-05/0.1198, allocations: 15.38 kB / 478 MB, free: 6.078 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1198, allocations: 0 / 478 MB, free: 6.078 MB / 350.1 MB Notification: Performance of Templates: time 0.003611/0.1234, allocations: 1.833 MB / 479.8 MB, free: 4.25 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches