Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0013/0.001307, allocations: 113 kB / 17.33 MB, free: 6.012 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.001601/0.001601, allocations: 193.3 kB / 18.25 MB, free: 5.102 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.394/1.394, 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.2283/0.2283, allocations: 44.18 MB / 336.2 MB, free: 2.965 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 60.16 kB / 407.9 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1254, allocations: 60.82 MB / 468.7 MB, free: 14.76 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test8): time 0.003059/0.1285, allocations: 1.614 MB / 470.3 MB, free: 13.13 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007359/0.1293, allocations: 403.3 kB / 470.7 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.389e-05/0.1293, allocations: 0 / 470.7 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002389/0.1296, allocations: 19.92 kB / 470.7 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000169/0.1298, allocations: 31.91 kB / 470.8 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002678/0.13, allocations: 79.84 kB / 470.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001332/0.1302, allocations: 59.78 kB / 470.9 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.1303, allocations: 11.98 kB / 470.9 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.494e-05/0.1303, allocations: 19.92 kB / 470.9 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.972e-05/0.1304, allocations: 27.84 kB / 471 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.545e-05/0.1305, allocations: 0 / 471 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.139e-05/0.1305, allocations: 31.94 kB / 471 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.313e-05/0.1306, allocations: 11.92 kB / 471 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.637e-05/0.1306, allocations: 19.88 kB / 471 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000155/0.1308, allocations: 79.78 kB / 471.1 MB, free: 12.35 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1308, allocations: 0 / 471.1 MB, free: 12.35 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1308, allocations: 4 kB / 471.1 MB, free: 12.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.044e-05/0.1308, allocations: 0 / 471.1 MB, free: 12.34 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005079/0.1313, allocations: 383.4 kB / 471.5 MB, free: 11.92 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.1314, allocations: 8.031 kB / 471.5 MB, free: 11.91 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.493e-05/0.1314, allocations: 12.78 kB / 471.5 MB, free: 11.9 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001987/0.1316, allocations: 184.3 kB / 471.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.1317, allocations: 8.312 kB / 471.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.069e-05/0.1317, allocations: 384 / 471.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001453/0.1318, allocations: 49.81 kB / 471.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.1319, allocations: 4 kB / 471.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.1319, allocations: 4 kB / 471.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.1319, allocations: 0 / 471.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.95e-05/0.132, allocations: 23.97 kB / 471.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003837/0.1324, allocations: 272.8 kB / 472 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002128/0.1326, allocations: 46.5 kB / 472.1 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.048e-05/0.1327, allocations: 16.94 kB / 472.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.173e-05/0.1327, allocations: 0 / 472.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/0.1327, allocations: 34.56 kB / 472.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.71e-07/0.1327, allocations: 0 / 472.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.000566/0.1333, allocations: 141.3 kB / 472.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.68e-05/0.1333, allocations: 51.41 kB / 472.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001606/0.1335, allocations: 156.1 kB / 472.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.812e-05/0.1335, allocations: 29.7 kB / 472.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.052e-05/0.1336, allocations: 92.14 kB / 472.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.876e-05/0.1336, allocations: 19.78 kB / 472.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.045e-05/0.1337, allocations: 17.72 kB / 472.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.1338, allocations: 322.8 kB / 472.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.686e-05/0.1339, allocations: 27.92 kB / 473 MB, free: 10.27 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.43e-05/0.1339, allocations: 15.98 kB / 473 MB, free: 10.25 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001312/0.1341, allocations: 52.95 kB / 473 MB, free: 10.2 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.1341, allocations: 0 / 473 MB, free: 10.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001747/0.1343, allocations: 77.58 kB / 473.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.1343, allocations: 4 kB / 473.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.1343, allocations: 4 kB / 473.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.1343, allocations: 0 / 473.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.948e-05/0.1344, allocations: 15.98 kB / 473.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.1344, allocations: 0 / 473.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.712e-05/0.1344, allocations: 8 kB / 473.1 MB, free: 10.08 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-06/0.1345, allocations: 3.938 kB / 473.1 MB, free: 10.08 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 (5): * Single equations (assignments): 5 * 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.873e-05/0.1346, allocations: 126.2 kB / 473.3 MB, free: 9.945 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.892e-05/0.1346, allocations: 7.891 kB / 473.3 MB, free: 9.938 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002459/0.1349, allocations: 93.95 kB / 473.4 MB, free: 9.84 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.1349, allocations: 0 / 473.4 MB, free: 9.84 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.1349, allocations: 4 kB / 473.4 MB, free: 9.836 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.1349, allocations: 0 / 473.4 MB, free: 9.836 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004106/0.1353, allocations: 346.5 kB / 473.7 MB, free: 9.441 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.1353, allocations: 3.938 kB / 473.7 MB, free: 9.438 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.105e-05/0.1354, allocations: 15.98 kB / 473.7 MB, free: 9.422 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.1354, allocations: 288 / 473.7 MB, free: 9.422 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.1354, allocations: 0 / 473.7 MB, free: 9.422 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.017e-06/0.1354, allocations: 7.938 kB / 473.7 MB, free: 9.414 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.041e-06/0.1354, allocations: 0 / 473.7 MB, free: 9.414 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002117/0.1356, allocations: 175.6 kB / 473.9 MB, free: 9.227 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.066e-05/0.1357, allocations: 92.92 kB / 474 MB, free: 9.117 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.671e-05/0.1357, allocations: 4 kB / 474 MB, free: 9.113 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.575e-05/0.1358, allocations: 7.938 kB / 474 MB, free: 9.105 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.391e-05/0.1358, allocations: 11.98 kB / 474 MB, free: 9.094 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-06/0.1358, allocations: 0 / 474 MB, free: 9.094 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.526e-05/0.1359, allocations: 111.3 kB / 474.1 MB, free: 8.984 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1359, allocations: 0 / 474.1 MB, free: 8.984 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000248/0.1362, allocations: 23.98 kB / 474.2 MB, free: 8.961 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.000923/0.1371, allocations: 401.9 kB / 474.6 MB, free: 8.719 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001878/0.1373, allocations: 47.97 kB / 474.6 MB, free: 8.672 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1373, allocations: 0 / 474.6 MB, free: 8.672 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.009e-05/0.1374, allocations: 27.92 kB / 474.6 MB, free: 8.645 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003555/0.1378, allocations: 11.98 kB / 474.6 MB, free: 8.633 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004079/0.1382, allocations: 205.7 kB / 474.8 MB, free: 8.406 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003027/0.1385, allocations: 0.6962 MB / 475.5 MB, free: 7.684 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.062e-05/0.1385, allocations: 7.984 kB / 475.5 MB, free: 7.676 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.945e-05/0.1386, allocations: 11.44 kB / 475.6 MB, free: 7.664 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1386, allocations: 0 / 475.6 MB, free: 7.664 MB / 350.1 MB Notification: Performance of Templates: time 0.003643/0.1422, allocations: 1.066 MB / 476.6 MB, free: 6.605 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches