Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.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.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001156/0.001156, allocations: 103.5 kB / 17.63 MB, free: 5.344 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.001302/0.001302, allocations: 192 kB / 18.56 MB, free: 4.434 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.362/1.362, allocations: 222.9 MB / 242.2 MB, free: 15.16 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.2191/0.2191, allocations: 44.19 MB / 336.6 MB, free: 2.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001265, allocations: 70.3 kB / 408.4 MB, free: 27.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1265, allocations: 60.82 MB / 469.3 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test34): time 0.002976/0.1296, allocations: 1.576 MB / 470.8 MB, free: 12.78 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006627/0.1302, allocations: 403.3 kB / 471.2 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.385e-05/0.1303, allocations: 0 / 471.2 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002287/0.1305, allocations: 79.77 kB / 471.3 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001855/0.1307, allocations: 63.75 kB / 471.4 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002216/0.131, allocations: 98.39 kB / 471.5 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001275/0.1311, allocations: 71.88 kB / 471.5 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.964e-05/0.1312, allocations: 16.17 kB / 471.5 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.833e-05/0.1312, allocations: 35.84 kB / 471.6 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.711e-05/0.1313, allocations: 47.89 kB / 471.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.282e-05/0.1314, allocations: 8 kB / 471.6 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.149e-05/0.1315, allocations: 47.97 kB / 471.7 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.495e-05/0.1315, allocations: 23.86 kB / 471.7 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.576e-05/0.1316, allocations: 27.75 kB / 471.7 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001393/0.1317, allocations: 91.98 kB / 471.8 MB, free: 11.78 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.1317, allocations: 4 kB / 471.8 MB, free: 11.78 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1317, allocations: 0 / 471.8 MB, free: 11.78 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.847e-06/0.1317, allocations: 0 / 471.8 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.0004191/0.1321, allocations: 407 kB / 472.2 MB, free: 11.33 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.959e-05/0.1322, allocations: 19.97 kB / 472.2 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.31e-05/0.1322, allocations: 8.844 kB / 472.2 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001693/0.1324, allocations: 196.1 kB / 472.4 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.661e-06/0.1324, allocations: 384 / 472.4 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.307e-05/0.1324, allocations: 12.36 kB / 472.5 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000129/0.1326, allocations: 57.55 kB / 472.5 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.1326, allocations: 3.906 kB / 472.5 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.625e-06/0.1326, allocations: 0 / 472.5 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.1326, allocations: 0 / 472.5 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.911e-05/0.1327, allocations: 35.97 kB / 472.5 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003137/0.133, allocations: 284.8 kB / 472.8 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.908e-05/0.1331, allocations: 42.5 kB / 472.9 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.32e-05/0.1332, allocations: 16.86 kB / 472.9 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.363e-05/0.1332, allocations: 4 kB / 472.9 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.895e-05/0.1332, allocations: 38.64 kB / 472.9 MB, free: 10.51 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.1332, allocations: 0 / 472.9 MB, free: 10.51 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007693/0.134, allocations: 209.2 kB / 473.1 MB, free: 10.3 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.163e-05/0.1341, allocations: 63.39 kB / 473.2 MB, free: 10.23 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001805/0.1342, allocations: 218.1 kB / 473.4 MB, free: 10 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.324e-05/0.1343, allocations: 25.7 kB / 473.4 MB, free: 9.973 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.063e-05/0.1343, allocations: 100 kB / 473.5 MB, free: 9.871 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.392e-05/0.1344, allocations: 27.64 kB / 473.6 MB, free: 9.844 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.555e-05/0.1344, allocations: 17.72 kB / 473.6 MB, free: 9.82 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001092/0.1345, allocations: 326.8 kB / 473.9 MB, free: 9.492 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.565e-05/0.1346, allocations: 31.98 kB / 473.9 MB, free: 9.461 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.191e-05/0.1347, allocations: 23.97 kB / 473.9 MB, free: 9.438 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001441/0.1348, allocations: 56.84 kB / 474 MB, free: 9.379 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.1348, allocations: 0 / 474 MB, free: 9.379 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001907/0.135, allocations: 101.7 kB / 474.1 MB, free: 9.273 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.135, allocations: 8 kB / 474.1 MB, free: 9.266 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.135, allocations: 80 / 474.1 MB, free: 9.266 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.1351, allocations: 7.938 kB / 474.1 MB, free: 9.258 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.172e-05/0.1352, allocations: 19.92 kB / 474.1 MB, free: 9.238 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.1352, allocations: 11.92 kB / 474.1 MB, free: 9.227 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.682e-05/0.1352, allocations: 0 / 474.1 MB, free: 9.227 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.1352, allocations: 4 kB / 474.2 MB, free: 9.223 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.148e-05/0.1353, allocations: 125.8 kB / 474.3 MB, free: 9.09 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.13e-05/0.1354, allocations: 11.91 kB / 474.3 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002417/0.1356, allocations: 118.3 kB / 474.4 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.1356, allocations: 0 / 474.4 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/0.1356, allocations: 7.938 kB / 474.4 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.1356, allocations: 7.875 kB / 474.4 MB, free: 8.941 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004784/0.1361, allocations: 407.2 kB / 474.8 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1361, allocations: 432 / 474.8 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.063e-05/0.1362, allocations: 27.95 kB / 474.8 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.1362, allocations: 0 / 474.8 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.1362, allocations: 0 / 474.8 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.1362, allocations: 0 / 474.8 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.1362, allocations: 4 kB / 474.8 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002106/0.1365, allocations: 200.2 kB / 475 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.728e-05/0.1365, allocations: 92.94 kB / 475.1 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.679e-05/0.1365, allocations: 4 kB / 475.1 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.327e-05/0.1366, allocations: 4 kB / 475.1 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.34e-05/0.1366, allocations: 7.984 kB / 475.1 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.75e-06/0.1367, allocations: 4 kB / 475.2 MB, free: 8.109 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000111/0.1368, allocations: 155.2 kB / 475.3 MB, free: 7.957 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1368, allocations: 0 / 475.3 MB, free: 7.957 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002289/0.137, allocations: 16 kB / 475.3 MB, free: 7.941 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.0009157/0.1379, allocations: 463.6 kB / 475.8 MB, free: 7.668 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002138/0.1382, allocations: 71.89 kB / 475.8 MB, free: 7.598 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1382, allocations: 4 kB / 475.8 MB, free: 7.594 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.926e-05/0.1383, allocations: 28.14 kB / 475.9 MB, free: 7.566 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003293/0.1386, allocations: 36 kB / 475.9 MB, free: 7.531 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003867/0.139, allocations: 243.2 kB / 476.1 MB, free: 7.262 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002612/0.1393, allocations: 0.7041 MB / 476.8 MB, free: 6.531 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.506e-05/0.1393, allocations: 8.656 kB / 476.9 MB, free: 6.516 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.636e-05/0.1393, allocations: 15.44 kB / 476.9 MB, free: 6.504 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1393, allocations: 7.938 kB / 476.9 MB, free: 6.496 MB / 350.1 MB Notification: Performance of Templates: time 0.003412/0.1428, allocations: 1.325 MB / 478.2 MB, free: 5.184 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test34/Test34.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches