Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.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.Test26,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.Test26") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test26,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.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001021/0.001021, allocations: 107 kB / 17.33 MB, free: 6 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.0009717/0.0009717, allocations: 193.3 kB / 18.25 MB, free: 5.09 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.318/1.318, allocations: 222.9 MB / 241.9 MB, free: 15.45 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.2116/0.2116, allocations: 44.17 MB / 336.2 MB, free: 2.957 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.001339, allocations: 61.14 kB / 407.9 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1221, allocations: 60.83 MB / 468.7 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test26): time 0.003361/0.1256, allocations: 1.633 MB / 470.3 MB, free: 13.1 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007899/0.1264, allocations: 415.3 kB / 470.7 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.146e-05/0.1265, allocations: 0 / 470.7 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000291/0.1268, allocations: 71.78 kB / 470.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002469/0.127, allocations: 67.8 kB / 470.9 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003623/0.1274, allocations: 102.6 kB / 471 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001847/0.1276, allocations: 67.89 kB / 471.1 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.1278, allocations: 16.17 kB / 471.1 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.69e-05/0.1278, allocations: 39.78 kB / 471.1 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001057/0.128, allocations: 47.89 kB / 471.2 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.128, allocations: 8 kB / 471.2 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001055/0.1281, allocations: 43.98 kB / 471.2 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.6e-05/0.1282, allocations: 19.92 kB / 471.2 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.588e-05/0.1282, allocations: 35.72 kB / 471.3 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001859/0.1284, allocations: 92 kB / 471.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.1284, allocations: 0 / 471.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.013e-06/0.1284, allocations: 0 / 471.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.605e-06/0.1284, allocations: 0 / 471.3 MB, free: 12.09 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.0005547/0.129, allocations: 414.9 kB / 471.8 MB, free: 11.64 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.1291, allocations: 12.03 kB / 471.8 MB, free: 11.62 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.723e-05/0.1291, allocations: 12.84 kB / 471.8 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002125/0.1293, allocations: 192.1 kB / 472 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.1294, allocations: 4.375 kB / 472 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.511e-05/0.1294, allocations: 4.375 kB / 472 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001704/0.1296, allocations: 57.61 kB / 472 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.1296, allocations: 3.906 kB / 472 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/0.1296, allocations: 8 kB / 472 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.1296, allocations: 3.938 kB / 472 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001061/0.1297, allocations: 35.91 kB / 472.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004654/0.1302, allocations: 300.8 kB / 472.4 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001147/0.1303, allocations: 42.56 kB / 472.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.656e-05/0.1304, allocations: 20.88 kB / 472.4 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.819e-05/0.1304, allocations: 4 kB / 472.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.717e-05/0.1305, allocations: 34.56 kB / 472.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.293e-06/0.1305, allocations: 4 kB / 472.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009935/0.1315, allocations: 225 kB / 472.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.064e-05/0.1315, allocations: 55.41 kB / 472.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002241/0.1318, allocations: 214.1 kB / 473 MB, free: 10.29 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.401e-05/0.1318, allocations: 25.7 kB / 473 MB, free: 10.25 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.005e-05/0.1319, allocations: 112 kB / 473.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.982e-05/0.1319, allocations: 19.66 kB / 473.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.508e-05/0.132, allocations: 25.7 kB / 473.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.1321, allocations: 322.8 kB / 473.5 MB, free: 9.766 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.429e-05/0.1322, allocations: 31.98 kB / 473.5 MB, free: 9.734 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.555e-05/0.1323, allocations: 27.97 kB / 473.5 MB, free: 9.707 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001577/0.1324, allocations: 80.83 kB / 473.6 MB, free: 9.625 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.1324, allocations: 0 / 473.6 MB, free: 9.625 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002241/0.1327, allocations: 113.7 kB / 473.7 MB, free: 9.508 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.418e-05/0.1327, allocations: 14.48 kB / 473.7 MB, free: 9.496 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.1327, allocations: 3.938 kB / 473.7 MB, free: 9.492 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.1327, allocations: 4 kB / 473.7 MB, free: 9.488 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.772e-05/0.1328, allocations: 12 kB / 473.7 MB, free: 9.477 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/0.1329, allocations: 7.922 kB / 473.7 MB, free: 9.469 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.966e-05/0.1329, allocations: 4 kB / 473.7 MB, free: 9.465 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.163e-05/0.1329, allocations: 4 kB / 473.8 MB, free: 9.461 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.000107/0.133, allocations: 134.3 kB / 473.9 MB, free: 9.32 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.369e-05/0.1331, allocations: 7.906 kB / 473.9 MB, free: 9.312 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002793/0.1334, allocations: 122.4 kB / 474 MB, free: 9.188 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.1334, allocations: 4 kB / 474 MB, free: 9.184 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.1334, allocations: 3.938 kB / 474 MB, free: 9.18 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.1334, allocations: 3.984 kB / 474 MB, free: 9.176 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005531/0.1339, allocations: 415.2 kB / 474.4 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.134, allocations: 4.031 kB / 474.4 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.412e-05/0.134, allocations: 27.86 kB / 474.5 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.1341, allocations: 4 kB / 474.5 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.919e-06/0.1341, allocations: 0 / 474.5 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/0.1341, allocations: 4 kB / 474.5 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1341, allocations: 0 / 474.5 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002815/0.1344, allocations: 216.2 kB / 474.7 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.43e-05/0.1344, allocations: 92.89 kB / 474.8 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.902e-05/0.1345, allocations: 0 / 474.8 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.128e-05/0.1346, allocations: 4 kB / 474.8 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.888e-05/0.1346, allocations: 11.98 kB / 474.8 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.254e-06/0.1346, allocations: 4 kB / 474.8 MB, free: 8.312 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001425/0.1348, allocations: 155.2 kB / 474.9 MB, free: 8.16 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1348, allocations: 0 / 474.9 MB, free: 8.16 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002787/0.1351, allocations: 12 kB / 475 MB, free: 8.148 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.001095/0.1362, allocations: 461.2 kB / 475.4 MB, free: 7.875 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002456/0.1364, allocations: 83.92 kB / 475.5 MB, free: 7.793 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.1364, allocations: 0 / 475.5 MB, free: 7.793 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.493e-05/0.1365, allocations: 43.91 kB / 475.5 MB, free: 7.75 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000395/0.1369, allocations: 23.92 kB / 475.6 MB, free: 7.727 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005393/0.1375, allocations: 283.2 kB / 475.8 MB, free: 7.418 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003024/0.1378, allocations: 0.7118 MB / 476.5 MB, free: 6.68 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.667e-05/0.1379, allocations: 16.66 kB / 476.6 MB, free: 6.656 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.599e-05/0.1379, allocations: 19.44 kB / 476.6 MB, free: 6.641 MB / 350.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1379, allocations: 0 / 476.6 MB, free: 6.641 MB / 350.1 MB Notification: Performance of Templates: time 0.004217/0.1422, allocations: 1.331 MB / 477.9 MB, free: 5.32 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test26/Test26.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches