Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.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.Test5,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.Test5") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test5,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.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001511/0.001511, allocations: 112.7 kB / 17.33 MB, free: 6.016 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.001506/0.001506, allocations: 193.3 kB / 18.25 MB, free: 5.113 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 / 241.9 MB, free: 15.43 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.2139/0.2139, allocations: 44.18 MB / 336.2 MB, free: 2.961 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 68.27 kB / 407.9 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1226, allocations: 60.83 MB / 468.7 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.003202/0.1258, allocations: 1.629 MB / 470.4 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007877/0.1266, allocations: 403.3 kB / 470.7 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.519e-05/0.1267, allocations: 4 kB / 470.7 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003186/0.127, allocations: 87.81 kB / 470.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001908/0.1273, allocations: 67.73 kB / 470.9 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002639/0.1275, allocations: 79.83 kB / 471 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001747/0.1277, allocations: 71.89 kB / 471 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001324/0.1279, allocations: 20.17 kB / 471.1 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.005e-05/0.1279, allocations: 39.78 kB / 471.1 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.704e-05/0.128, allocations: 51.88 kB / 471.2 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.479e-05/0.128, allocations: 0 / 471.2 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.793e-05/0.1281, allocations: 43.98 kB / 471.2 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.535e-05/0.1282, allocations: 23.86 kB / 471.2 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.448e-05/0.1283, allocations: 35.73 kB / 471.3 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001674/0.1284, allocations: 99.98 kB / 471.4 MB, free: 12.09 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.1285, allocations: 0 / 471.4 MB, free: 12.09 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1285, allocations: 0 / 471.4 MB, free: 12.09 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.368e-06/0.1285, allocations: 4 kB / 471.4 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.0005176/0.129, allocations: 410.9 kB / 471.8 MB, free: 11.64 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.129, allocations: 12.03 kB / 471.8 MB, free: 11.63 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.673e-05/0.1291, allocations: 8.844 kB / 471.8 MB, free: 11.62 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000213/0.1293, allocations: 208.7 kB / 472 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.115e-06/0.1293, allocations: 384 / 472 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.517e-05/0.1294, allocations: 4.375 kB / 472 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001454/0.1295, allocations: 61.59 kB / 472.1 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.1295, allocations: 4 kB / 472.1 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.1295, allocations: 3.938 kB / 472.1 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.1296, allocations: 0 / 472.1 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.781e-05/0.1297, allocations: 27.92 kB / 472.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004124/0.1301, allocations: 300.7 kB / 472.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001094/0.1302, allocations: 46.56 kB / 472.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.192e-05/0.1303, allocations: 20.94 kB / 472.4 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.189e-05/0.1303, allocations: 0 / 472.4 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.392e-05/0.1303, allocations: 34.5 kB / 472.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.1303, allocations: 0 / 472.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008994/0.1312, allocations: 225.3 kB / 472.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.265e-05/0.1313, allocations: 51.41 kB / 472.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002185/0.1315, allocations: 232.6 kB / 473 MB, free: 10.28 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.709e-05/0.1315, allocations: 29.7 kB / 473 MB, free: 10.24 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.996e-05/0.1316, allocations: 104.1 kB / 473.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.492e-05/0.1316, allocations: 19.72 kB / 473.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.079e-05/0.1317, allocations: 29.7 kB / 473.2 MB, free: 10.08 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.1318, allocations: 326.8 kB / 473.5 MB, free: 9.754 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.114e-05/0.1319, allocations: 19.98 kB / 473.5 MB, free: 9.734 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.153e-05/0.1319, allocations: 23.98 kB / 473.5 MB, free: 9.711 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001387/0.1321, allocations: 60.89 kB / 473.6 MB, free: 9.648 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.1321, allocations: 3.938 kB / 473.6 MB, free: 9.645 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000202/0.1323, allocations: 105.5 kB / 473.7 MB, free: 9.535 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.1323, allocations: 4 kB / 473.7 MB, free: 9.531 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.1323, allocations: 0 / 473.7 MB, free: 9.531 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.1324, allocations: 4 kB / 473.7 MB, free: 9.527 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.401e-05/0.1325, allocations: 15.98 kB / 473.7 MB, free: 9.512 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.1325, allocations: 3.938 kB / 473.7 MB, free: 9.508 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.427e-05/0.1325, allocations: 15.92 kB / 473.7 MB, free: 9.492 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-06/0.1325, allocations: 0 / 473.7 MB, free: 9.492 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.903e-05/0.1326, allocations: 134.3 kB / 473.9 MB, free: 9.352 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.465e-05/0.1327, allocations: 15.81 kB / 473.9 MB, free: 9.336 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002494/0.1329, allocations: 119.4 kB / 474 MB, free: 9.219 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.133, allocations: 0 / 474 MB, free: 9.219 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.028e-05/0.133, allocations: 7.922 kB / 474 MB, free: 9.211 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.133, allocations: 7.938 kB / 474 MB, free: 9.203 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004889/0.1335, allocations: 399.3 kB / 474.4 MB, free: 8.754 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.1335, allocations: 0 / 474.4 MB, free: 8.754 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.814e-05/0.1336, allocations: 19.92 kB / 474.4 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.1336, allocations: 0 / 474.4 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.1336, allocations: 8 kB / 474.4 MB, free: 8.727 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.1336, allocations: 3.938 kB / 474.4 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.1336, allocations: 3.984 kB / 474.4 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000234/0.1338, allocations: 208.2 kB / 474.6 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.072e-05/0.1339, allocations: 92.94 kB / 474.7 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.614e-05/0.1339, allocations: 0 / 474.7 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.231e-05/0.134, allocations: 8 kB / 474.7 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.815e-05/0.134, allocations: 7.984 kB / 474.7 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.321e-06/0.1341, allocations: 4 kB / 474.7 MB, free: 8.367 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001337/0.1342, allocations: 171.5 kB / 474.9 MB, free: 8.199 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1342, allocations: 4 kB / 474.9 MB, free: 8.195 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002471/0.1345, allocations: 16 kB / 474.9 MB, free: 8.18 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.001008/0.1355, allocations: 453.8 kB / 475.4 MB, free: 7.91 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002111/0.1357, allocations: 67.94 kB / 475.4 MB, free: 7.844 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.1357, allocations: 0 / 475.4 MB, free: 7.844 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.634e-05/0.1358, allocations: 39.92 kB / 475.5 MB, free: 7.805 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003556/0.1362, allocations: 23.86 kB / 475.5 MB, free: 7.781 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004785/0.1366, allocations: 283.4 kB / 475.8 MB, free: 7.477 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002909/0.1369, allocations: 0.7157 MB / 476.5 MB, free: 6.734 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.745e-05/0.137, allocations: 12.97 kB / 476.5 MB, free: 6.723 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.423e-05/0.137, allocations: 19.42 kB / 476.5 MB, free: 6.703 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1371, allocations: 3.938 kB / 476.5 MB, free: 6.699 MB / 350.1 MB Notification: Performance of Templates: time 0.003843/0.1409, allocations: 1.3 MB / 477.8 MB, free: 5.406 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches