Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.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.CombiTable1Dv.Test3,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.CombiTable1Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test3,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.CombiTable1Dv.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001527/0.001527, 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.001009/0.001009, 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.385/1.385, allocations: 222.9 MB / 242.9 MB, free: 15.22 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.2163/0.2163, allocations: 44.18 MB / 337.3 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 56.44 kB / 409.1 MB, free: 27.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.107, allocations: 60.83 MB / 469.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test3): time 0.003103/0.1101, allocations: 1.568 MB / 471.5 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007584/0.1109, allocations: 419.2 kB / 471.9 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.315e-05/0.111, allocations: 0 / 471.9 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002442/0.1112, allocations: 83.64 kB / 472 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001824/0.1114, allocations: 51.83 kB / 472 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002807/0.1117, allocations: 119 kB / 472.2 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001396/0.1119, allocations: 67.88 kB / 472.2 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.112, allocations: 20.17 kB / 472.2 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.388e-05/0.1121, allocations: 35.83 kB / 472.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.869e-05/0.1122, allocations: 39.91 kB / 472.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.705e-05/0.1122, allocations: 4 kB / 472.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.359e-05/0.1123, allocations: 55.84 kB / 472.4 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.107e-05/0.1123, allocations: 12 kB / 472.4 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.88e-05/0.1124, allocations: 31.73 kB / 472.4 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001612/0.1126, allocations: 95.98 kB / 472.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1126, allocations: 0 / 472.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1126, allocations: 4 kB / 472.5 MB, free: 11.78 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.199e-06/0.1126, allocations: 0 / 472.5 MB, free: 11.78 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.0004404/0.113, allocations: 399 kB / 472.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.1131, allocations: 8.031 kB / 472.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.968e-05/0.1131, allocations: 12.84 kB / 472.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001718/0.1133, allocations: 196.1 kB / 473.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.1133, allocations: 4.375 kB / 473.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.898e-05/0.1133, allocations: 8.312 kB / 473.1 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000138/0.1135, allocations: 57.61 kB / 473.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.1135, allocations: 4 kB / 473.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.809e-06/0.1135, allocations: 4 kB / 473.2 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.1135, allocations: 0 / 473.2 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.814e-05/0.1136, allocations: 23.98 kB / 473.2 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003775/0.114, allocations: 296.7 kB / 473.5 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001049/0.1141, allocations: 50.5 kB / 473.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.449e-05/0.1142, allocations: 24.94 kB / 473.6 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.004e-05/0.1142, allocations: 3.938 kB / 473.6 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.251e-05/0.1143, allocations: 34.5 kB / 473.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.1143, allocations: 0 / 473.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008878/0.1152, allocations: 245.1 kB / 473.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.1152, allocations: 51.41 kB / 473.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001785/0.1154, allocations: 197.8 kB / 474.1 MB, free: 10.01 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.56e-05/0.1154, allocations: 33.64 kB / 474.1 MB, free: 9.969 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.089e-05/0.1155, allocations: 96.14 kB / 474.2 MB, free: 9.871 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.724e-05/0.1155, allocations: 23.64 kB / 474.2 MB, free: 9.848 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.139e-05/0.1156, allocations: 25.72 kB / 474.3 MB, free: 9.816 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001107/0.1157, allocations: 326.8 kB / 474.6 MB, free: 9.488 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.317e-05/0.1158, allocations: 27.97 kB / 474.6 MB, free: 9.461 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.419e-05/0.1158, allocations: 27.98 kB / 474.6 MB, free: 9.434 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001599/0.116, allocations: 72.81 kB / 474.7 MB, free: 9.359 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.116, allocations: 0 / 474.7 MB, free: 9.359 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002343/0.1163, allocations: 117.5 kB / 474.8 MB, free: 9.238 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.1163, allocations: 4 kB / 474.8 MB, free: 9.234 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.1163, allocations: 0 / 474.8 MB, free: 9.234 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.1163, allocations: 0 / 474.8 MB, free: 9.234 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.783e-05/0.1164, allocations: 23.92 kB / 474.9 MB, free: 9.211 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.1164, allocations: 3.938 kB / 474.9 MB, free: 9.207 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.212e-05/0.1165, allocations: 8 kB / 474.9 MB, free: 9.199 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-06/0.1165, allocations: 0 / 474.9 MB, free: 9.199 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 9.954e-05/0.1166, allocations: 129.8 kB / 475 MB, free: 9.062 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.252e-05/0.1166, allocations: 12.33 kB / 475 MB, free: 9.051 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002767/0.1169, allocations: 130.3 kB / 475.1 MB, free: 8.918 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.1169, allocations: 4 kB / 475.1 MB, free: 8.914 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.1169, allocations: 3.938 kB / 475.1 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.1169, allocations: 3.984 kB / 475.1 MB, free: 8.906 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004872/0.1174, allocations: 415.6 kB / 475.6 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.1175, allocations: 0 / 475.6 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.068e-05/0.1175, allocations: 27.86 kB / 475.6 MB, free: 8.414 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.1175, allocations: 0 / 475.6 MB, free: 8.414 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.1176, allocations: 4 kB / 475.6 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1176, allocations: 0 / 475.6 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1176, allocations: 0 / 475.6 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002565/0.1178, allocations: 220.3 kB / 475.8 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.766e-05/0.1179, allocations: 92.95 kB / 475.9 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.771e-05/0.1179, allocations: 0 / 475.9 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.227e-05/0.118, allocations: 4 kB / 475.9 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.509e-05/0.118, allocations: 7.984 kB / 475.9 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.899e-06/0.118, allocations: 0 / 475.9 MB, free: 8.055 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001105/0.1182, allocations: 151.2 kB / 476 MB, free: 7.906 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1182, allocations: 7.938 kB / 476.1 MB, free: 7.898 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002511/0.1184, allocations: 16 kB / 476.1 MB, free: 7.883 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.0009868/0.1194, allocations: 456.7 kB / 476.5 MB, free: 7.617 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002314/0.1197, allocations: 83.83 kB / 476.6 MB, free: 7.535 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1197, allocations: 0 / 476.6 MB, free: 7.535 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.867e-05/0.1198, allocations: 43.91 kB / 476.6 MB, free: 7.492 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003611/0.1201, allocations: 25.48 kB / 476.7 MB, free: 7.469 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004553/0.1206, allocations: 276.5 kB / 476.9 MB, free: 7.16 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002622/0.1209, allocations: 0.708 MB / 477.6 MB, free: 6.426 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.723e-05/0.1209, allocations: 15.44 kB / 477.7 MB, free: 6.41 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1209, allocations: 0 / 477.7 MB, free: 6.41 MB / 350.1 MB Notification: Performance of Templates: time 0.003314/0.1243, allocations: 1.724 MB / 479.4 MB, free: 4.691 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches