Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.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.Test28,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.Test28") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test28,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.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00116/0.00116, allocations: 101.5 kB / 17.85 MB, free: 5.66 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.001231/0.001232, allocations: 194 kB / 18.77 MB, free: 4.742 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.356/1.356, allocations: 222.9 MB / 242.5 MB, free: 15.43 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.2125/0.2125, allocations: 44.17 MB / 336.8 MB, free: 2.988 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001688/0.001687, allocations: 72.22 kB / 408.4 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1095, allocations: 60.82 MB / 469.2 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test28): time 0.003592/0.1132, allocations: 1.633 MB / 470.8 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009126/0.1141, allocations: 403.3 kB / 471.2 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.485e-05/0.1142, allocations: 0 / 471.2 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003405/0.1146, allocations: 111.7 kB / 471.3 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002042/0.1148, allocations: 75.78 kB / 471.4 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003445/0.1152, allocations: 82.8 kB / 471.5 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001954/0.1154, allocations: 71.88 kB / 471.5 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.1155, allocations: 24.16 kB / 471.6 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.621e-05/0.1156, allocations: 39.77 kB / 471.6 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000121/0.1157, allocations: 59.88 kB / 471.7 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.36e-05/0.1157, allocations: 4 kB / 471.7 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000114/0.1159, allocations: 39.92 kB / 471.7 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.683e-05/0.1159, allocations: 23.92 kB / 471.7 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.459e-05/0.116, allocations: 31.75 kB / 471.8 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001539/0.1162, allocations: 84.16 kB / 471.8 MB, free: 12.17 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.1162, allocations: 0 / 471.8 MB, free: 12.17 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.62e-07/0.1162, allocations: 0 / 471.8 MB, free: 12.17 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.558e-06/0.1162, allocations: 0 / 471.8 MB, free: 12.17 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.0005361/0.1167, allocations: 422.8 kB / 472.2 MB, free: 11.71 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.1168, allocations: 12.03 kB / 472.3 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.703e-05/0.1168, allocations: 12.75 kB / 472.3 MB, free: 11.69 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000217/0.1171, allocations: 212.5 kB / 472.5 MB, free: 11.44 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.422e-06/0.1171, allocations: 384 / 472.5 MB, free: 11.44 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.779e-05/0.1171, allocations: 8.375 kB / 472.5 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001739/0.1173, allocations: 53.61 kB / 472.5 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.1173, allocations: 0 / 472.5 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.1173, allocations: 4 kB / 472.5 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.1173, allocations: 4 kB / 472.6 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001053/0.1175, allocations: 27.92 kB / 472.6 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004366/0.1179, allocations: 300.7 kB / 472.9 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001187/0.118, allocations: 42.56 kB / 472.9 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.685e-05/0.1181, allocations: 16.86 kB / 472.9 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.256e-05/0.1181, allocations: 7.938 kB / 472.9 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.235e-05/0.1182, allocations: 38.64 kB / 473 MB, free: 10.87 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.382e-06/0.1182, allocations: 0 / 473 MB, free: 10.87 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009672/0.1192, allocations: 221 kB / 473.2 MB, free: 10.65 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.203e-05/0.1192, allocations: 51.41 kB / 473.2 MB, free: 10.59 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002419/0.1195, allocations: 246.6 kB / 473.5 MB, free: 10.33 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.532e-05/0.1195, allocations: 25.7 kB / 473.5 MB, free: 10.3 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.914e-05/0.1196, allocations: 112.1 kB / 473.6 MB, free: 10.19 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.998e-05/0.1196, allocations: 19.56 kB / 473.6 MB, free: 10.17 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.268e-05/0.1197, allocations: 29.7 kB / 473.7 MB, free: 10.13 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.1198, allocations: 326.8 kB / 474 MB, free: 9.805 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.1e-05/0.1199, allocations: 19.98 kB / 474 MB, free: 9.785 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.264e-05/0.12, allocations: 27.98 kB / 474 MB, free: 9.758 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000148/0.1201, allocations: 68.7 kB / 474.1 MB, free: 9.688 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1201, allocations: 0 / 474.1 MB, free: 9.688 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002178/0.1204, allocations: 97.8 kB / 474.2 MB, free: 9.586 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.1204, allocations: 10.5 kB / 474.2 MB, free: 9.578 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.1204, allocations: 80 / 474.2 MB, free: 9.578 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.1204, allocations: 0 / 474.2 MB, free: 9.578 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/0.1205, allocations: 19.98 kB / 474.2 MB, free: 9.559 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.886e-06/0.1205, allocations: 7.922 kB / 474.2 MB, free: 9.551 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.567e-05/0.1206, allocations: 7.984 kB / 474.2 MB, free: 9.543 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.1206, allocations: 4 kB / 474.2 MB, free: 9.539 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.0001089/0.1207, allocations: 133.8 kB / 474.4 MB, free: 9.398 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.972e-05/0.1208, allocations: 19.81 kB / 474.4 MB, free: 9.379 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002718/0.1211, allocations: 111 kB / 474.5 MB, free: 9.27 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.1211, allocations: 432 / 474.5 MB, free: 9.27 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.1211, allocations: 3.938 kB / 474.5 MB, free: 9.266 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.1211, allocations: 4 kB / 474.5 MB, free: 9.262 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005236/0.1216, allocations: 411.2 kB / 474.9 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.1216, allocations: 0 / 474.9 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.328e-05/0.1217, allocations: 31.84 kB / 474.9 MB, free: 8.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.65e-06/0.1217, allocations: 0 / 474.9 MB, free: 8.77 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.327e-06/0.1217, allocations: 3.938 kB / 474.9 MB, free: 8.766 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.1217, allocations: 0 / 474.9 MB, free: 8.766 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.1218, allocations: 8 kB / 475 MB, free: 8.758 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002542/0.122, allocations: 200.3 kB / 475.1 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.266e-05/0.1221, allocations: 92.86 kB / 475.2 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.088e-05/0.1221, allocations: 4 kB / 475.2 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.346e-05/0.1222, allocations: 4 kB / 475.2 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.644e-05/0.1222, allocations: 3.984 kB / 475.3 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.564e-06/0.1223, allocations: 4 kB / 475.3 MB, free: 8.418 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001508/0.1224, allocations: 188.3 kB / 475.4 MB, free: 8.234 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1224, allocations: 4 kB / 475.4 MB, free: 8.23 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002727/0.1227, allocations: 20 kB / 475.5 MB, free: 8.211 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.001141/0.1238, allocations: 450.2 kB / 475.9 MB, free: 7.945 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002281/0.1241, allocations: 63.95 kB / 476 MB, free: 7.883 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.1241, allocations: 0 / 476 MB, free: 7.883 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.124e-05/0.1242, allocations: 36.08 kB / 476 MB, free: 7.848 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004036/0.1246, allocations: 27.72 kB / 476 MB, free: 7.824 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005782/0.1252, allocations: 346.6 kB / 476.4 MB, free: 7.449 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002945/0.1255, allocations: 0.7122 MB / 477.1 MB, free: 6.711 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.402e-05/0.1256, allocations: 19.42 kB / 477.1 MB, free: 6.691 MB / 350.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1256, allocations: 0 / 477.1 MB, free: 6.691 MB / 350.1 MB Notification: Performance of Templates: time 0.003852/0.1294, allocations: 1.765 MB / 478.9 MB, free: 4.926 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches