Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.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.Test15,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.Test15") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test15,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.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001445/0.001445, allocations: 110.5 kB / 17.86 MB, free: 5.504 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.001334/0.001334, allocations: 201.9 kB / 18.78 MB, free: 4.586 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.376/1.376, allocations: 222.9 MB / 242.4 MB, free: 15.48 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.2148/0.2148, allocations: 44.18 MB / 336.8 MB, free: 2.996 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 64.66 kB / 408.4 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.12, allocations: 60.82 MB / 469.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test15): time 0.002946/0.123, allocations: 1.629 MB / 470.8 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007566/0.1237, allocations: 423.2 kB / 471.2 MB, free: 12.78 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.468e-05/0.1238, allocations: 4 kB / 471.2 MB, free: 12.78 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002737/0.1241, allocations: 67.83 kB / 471.3 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001485/0.1243, allocations: 55.83 kB / 471.3 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002702/0.1245, allocations: 98.69 kB / 471.4 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001541/0.1247, allocations: 75.81 kB / 471.5 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.1248, allocations: 20.16 kB / 471.5 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.064e-05/0.1249, allocations: 35.84 kB / 471.6 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001016/0.125, allocations: 51.83 kB / 471.6 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.855e-05/0.125, allocations: 4 kB / 471.6 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.652e-05/0.1251, allocations: 43.97 kB / 471.7 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.775e-05/0.1252, allocations: 19.92 kB / 471.7 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.531e-05/0.1252, allocations: 19.81 kB / 471.7 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001317/0.1253, allocations: 80.11 kB / 471.8 MB, free: 12.22 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.1253, allocations: 4 kB / 471.8 MB, free: 12.21 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.52e-07/0.1253, allocations: 0 / 471.8 MB, free: 12.21 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.098e-06/0.1254, allocations: 0 / 471.8 MB, free: 12.21 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.0004598/0.1258, allocations: 411 kB / 472.2 MB, free: 11.77 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.1259, allocations: 8.031 kB / 472.2 MB, free: 11.76 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.858e-05/0.1259, allocations: 12.84 kB / 472.2 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001767/0.1261, allocations: 188.1 kB / 472.4 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.1261, allocations: 4.375 kB / 472.4 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.821e-05/0.1261, allocations: 4.375 kB / 472.4 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000137/0.1263, allocations: 65.53 kB / 472.5 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.1263, allocations: 3.906 kB / 472.5 MB, free: 11.44 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.1263, allocations: 8 kB / 472.5 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.85e-06/0.1263, allocations: 0 / 472.5 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.765e-05/0.1264, allocations: 31.91 kB / 472.5 MB, free: 11.4 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003969/0.1268, allocations: 292.8 kB / 472.8 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000102/0.1269, allocations: 42.56 kB / 472.8 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.19e-05/0.127, allocations: 24.94 kB / 472.9 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.969e-05/0.127, allocations: 3.938 kB / 472.9 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.388e-05/0.1271, allocations: 34.5 kB / 472.9 MB, free: 10.94 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.323e-06/0.1271, allocations: 4 kB / 472.9 MB, free: 10.94 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008839/0.128, allocations: 237 kB / 473.1 MB, free: 10.7 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.726e-05/0.128, allocations: 51.41 kB / 473.2 MB, free: 10.64 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001866/0.1282, allocations: 210.1 kB / 473.4 MB, free: 10.42 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.352e-05/0.1282, allocations: 25.7 kB / 473.4 MB, free: 10.39 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.516e-05/0.1283, allocations: 112 kB / 473.5 MB, free: 10.28 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.949e-05/0.1283, allocations: 31.7 kB / 473.6 MB, free: 10.25 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.609e-05/0.1284, allocations: 17.72 kB / 473.6 MB, free: 10.22 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.823e-05/0.1285, allocations: 326.8 kB / 473.9 MB, free: 9.895 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.257e-05/0.1286, allocations: 27.98 kB / 473.9 MB, free: 9.867 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.315e-05/0.1286, allocations: 27.97 kB / 473.9 MB, free: 9.84 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001611/0.1288, allocations: 76.81 kB / 474 MB, free: 9.762 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.1288, allocations: 0 / 474 MB, free: 9.762 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002098/0.129, allocations: 121.6 kB / 474.1 MB, free: 9.637 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.1291, allocations: 10.34 kB / 474.1 MB, free: 9.629 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.1291, allocations: 0 / 474.1 MB, free: 9.629 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.1291, allocations: 0 / 474.1 MB, free: 9.629 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.822e-05/0.1292, allocations: 15.98 kB / 474.2 MB, free: 9.613 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.1292, allocations: 3.938 kB / 474.2 MB, free: 9.609 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.717e-05/0.1292, allocations: 4 kB / 474.2 MB, free: 9.605 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.876e-06/0.1293, allocations: 4 kB / 474.2 MB, free: 9.602 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.461e-05/0.1294, allocations: 134.4 kB / 474.3 MB, free: 9.461 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.402e-05/0.1294, allocations: 11.84 kB / 474.3 MB, free: 9.449 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002671/0.1297, allocations: 126.8 kB / 474.4 MB, free: 9.32 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1297, allocations: 4 kB / 474.4 MB, free: 9.316 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.1297, allocations: 3.938 kB / 474.4 MB, free: 9.312 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.1297, allocations: 0 / 474.4 MB, free: 9.312 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004917/0.1302, allocations: 427.2 kB / 474.9 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.1302, allocations: 0 / 474.9 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.608e-05/0.1303, allocations: 23.86 kB / 474.9 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.1303, allocations: 4 kB / 474.9 MB, free: 8.809 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.577e-06/0.1303, allocations: 0 / 474.9 MB, free: 8.809 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.1303, allocations: 7.875 kB / 474.9 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.1303, allocations: 0 / 474.9 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002487/0.1306, allocations: 212.3 kB / 475.1 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.44e-05/0.1306, allocations: 88.95 kB / 475.2 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.725e-05/0.1307, allocations: 0 / 475.2 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.142e-05/0.1307, allocations: 7.984 kB / 475.2 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.898e-05/0.1308, allocations: 8 kB / 475.2 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.234e-05/0.1308, allocations: 8 kB / 475.2 MB, free: 8.445 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001175/0.1309, allocations: 159.2 kB / 475.4 MB, free: 8.289 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1309, allocations: 0 / 475.4 MB, free: 8.289 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002498/0.1312, allocations: 19.98 kB / 475.4 MB, free: 8.27 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.0009986/0.1322, allocations: 455 kB / 475.8 MB, free: 8.004 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002143/0.1324, allocations: 79.88 kB / 475.9 MB, free: 7.926 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1324, allocations: 0 / 475.9 MB, free: 7.926 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.302e-05/0.1325, allocations: 44.06 kB / 476 MB, free: 7.883 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003744/0.1329, allocations: 23.92 kB / 476 MB, free: 7.859 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004778/0.1334, allocations: 306.7 kB / 476.3 MB, free: 7.52 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002476/0.1336, allocations: 0.7083 MB / 477 MB, free: 6.785 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.654e-05/0.1337, allocations: 15.44 kB / 477 MB, free: 6.77 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1337, allocations: 4 kB / 477 MB, free: 6.766 MB / 350.1 MB Notification: Performance of Templates: time 0.003367/0.1371, allocations: 1.746 MB / 478.8 MB, free: 5.023 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches