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.001185/0.001185, 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.001247/0.001247, 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.4 MB, free: 15.35 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.2219/0.2219, allocations: 44.18 MB / 336.8 MB, free: 2.984 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001455, allocations: 58.92 kB / 408.4 MB, free: 27.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1124, allocations: 60.83 MB / 469.2 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test27): time 0.003159/0.1156, allocations: 1.637 MB / 470.8 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007409/0.1164, allocations: 407.3 kB / 471.2 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.873e-05/0.1165, allocations: 0 / 471.2 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003151/0.1168, allocations: 123.8 kB / 471.3 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001987/0.117, allocations: 75.83 kB / 471.4 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002853/0.1173, allocations: 87.28 kB / 471.5 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001586/0.1175, allocations: 79.81 kB / 471.6 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.1176, allocations: 24.16 kB / 471.6 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.596e-05/0.1177, allocations: 39.84 kB / 471.6 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001115/0.1178, allocations: 71.84 kB / 471.7 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.913e-05/0.1178, allocations: 4 kB / 471.7 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.434e-05/0.1179, allocations: 43.92 kB / 471.8 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.88e-05/0.118, allocations: 31.84 kB / 471.8 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.713e-05/0.118, allocations: 43.67 kB / 471.8 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001339/0.1182, allocations: 76.17 kB / 471.9 MB, free: 12.11 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.1182, allocations: 4 kB / 471.9 MB, free: 12.11 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.71e-07/0.1182, allocations: 0 / 471.9 MB, free: 12.11 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.125e-06/0.1182, allocations: 4 kB / 471.9 MB, free: 12.11 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.0004691/0.1187, allocations: 426.8 kB / 472.3 MB, free: 11.64 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.1187, allocations: 8.031 kB / 472.3 MB, free: 11.63 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.495e-05/0.1188, allocations: 12.84 kB / 472.3 MB, free: 11.62 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002065/0.119, allocations: 203.9 kB / 472.5 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.887e-06/0.119, allocations: 4.375 kB / 472.5 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.014e-05/0.119, allocations: 4.375 kB / 472.6 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001464/0.1192, allocations: 65.53 kB / 472.6 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.1192, allocations: 0 / 472.6 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.1192, allocations: 0 / 472.6 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.1192, allocations: 3.938 kB / 472.6 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.339e-05/0.1193, allocations: 27.92 kB / 472.6 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003743/0.1197, allocations: 312.7 kB / 473 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001069/0.1198, allocations: 46.5 kB / 473 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.823e-05/0.1199, allocations: 12.86 kB / 473 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.107e-05/0.1199, allocations: 0 / 473 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.935e-05/0.12, allocations: 30.56 kB / 473 MB, free: 10.81 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.12, allocations: 4 kB / 473 MB, free: 10.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009044/0.1209, allocations: 217.1 kB / 473.3 MB, free: 10.59 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.987e-05/0.1209, allocations: 51.41 kB / 473.3 MB, free: 10.52 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000251/0.1212, allocations: 278.2 kB / 473.6 MB, free: 10.24 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.357e-05/0.1212, allocations: 29.7 kB / 473.6 MB, free: 10.21 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.998e-05/0.1213, allocations: 120.1 kB / 473.7 MB, free: 10.09 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.855e-05/0.1213, allocations: 23.64 kB / 473.7 MB, free: 10.06 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.886e-05/0.1214, allocations: 25.66 kB / 473.8 MB, free: 10.03 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000105/0.1215, allocations: 326.8 kB / 474.1 MB, free: 9.703 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.765e-05/0.1216, allocations: 23.97 kB / 474.1 MB, free: 9.68 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.963e-05/0.1216, allocations: 27.98 kB / 474.1 MB, free: 9.652 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001458/0.1218, allocations: 60.83 kB / 474.2 MB, free: 9.59 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.1218, allocations: 0 / 474.2 MB, free: 9.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002028/0.122, allocations: 101.5 kB / 474.3 MB, free: 9.484 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.122, allocations: 4 kB / 474.3 MB, free: 9.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.122, allocations: 0 / 474.3 MB, free: 9.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.1221, allocations: 4.422 kB / 474.3 MB, free: 9.477 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.1222, allocations: 19.92 kB / 474.3 MB, free: 9.457 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.1222, allocations: 3.938 kB / 474.3 MB, free: 9.453 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.44e-05/0.1222, allocations: 11.98 kB / 474.3 MB, free: 9.441 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.788e-06/0.1223, allocations: 4 kB / 474.3 MB, free: 9.438 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.768e-05/0.1224, allocations: 130.4 kB / 474.5 MB, free: 9.301 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.701e-05/0.1224, allocations: 15.81 kB / 474.5 MB, free: 9.285 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000271/0.1227, allocations: 135.3 kB / 474.6 MB, free: 9.152 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.1227, allocations: 3.938 kB / 474.6 MB, free: 9.148 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.1227, allocations: 11.88 kB / 474.6 MB, free: 9.137 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.1227, allocations: 0 / 474.6 MB, free: 9.137 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004923/0.1232, allocations: 403.3 kB / 475 MB, free: 8.684 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.1232, allocations: 0 / 475 MB, free: 8.684 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.06e-05/0.1233, allocations: 27.92 kB / 475.1 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.1233, allocations: 0 / 475.1 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.365e-06/0.1233, allocations: 4.031 kB / 475.1 MB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.1233, allocations: 0 / 475.1 MB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.1233, allocations: 4 kB / 475.1 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002459/0.1236, allocations: 204.1 kB / 475.3 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.756e-05/0.1236, allocations: 92.86 kB / 475.4 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.927e-05/0.1237, allocations: 3.938 kB / 475.4 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.564e-05/0.1238, allocations: 15.98 kB / 475.4 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.923e-05/0.1238, allocations: 4 kB / 475.4 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.1238, allocations: 0 / 475.4 MB, free: 8.297 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001608/0.124, allocations: 203.2 kB / 475.6 MB, free: 8.098 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.124, allocations: 4 kB / 475.6 MB, free: 8.094 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002502/0.1242, allocations: 16 kB / 475.6 MB, free: 8.078 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.00102/0.1253, allocations: 456.6 kB / 476 MB, free: 7.805 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002241/0.1255, allocations: 59.91 kB / 476.1 MB, free: 7.746 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.1255, allocations: 0 / 476.1 MB, free: 7.746 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.143e-05/0.1256, allocations: 43.97 kB / 476.1 MB, free: 7.703 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003716/0.126, allocations: 24.41 kB / 476.2 MB, free: 7.684 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005353/0.1265, allocations: 358.9 kB / 476.5 MB, free: 7.293 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000271/0.1268, allocations: 0.7121 MB / 477.2 MB, free: 6.555 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.827e-05/0.1269, allocations: 15.44 kB / 477.2 MB, free: 6.539 MB / 350.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1269, allocations: 0 / 477.2 MB, free: 6.539 MB / 350.1 MB Notification: Performance of Templates: time 0.003726/0.1306, allocations: 1.832 MB / 479.1 MB, free: 4.707 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