Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.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.Test31,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.Test31") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test31,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.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001024/0.001029, allocations: 97.22 kB / 17 MB, free: 6.402 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.001131/0.001131, allocations: 177.7 kB / 17.89 MB, free: 5.945 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.501/1.501, allocations: 223.3 MB / 241.9 MB, free: 304 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2198/0.2198, allocations: 44.25 MB / 337.3 MB, free: 2.785 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004111/0.0004113, allocations: 14.75 kB / 409.7 MB, free: 27.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1324, allocations: 61.92 MB / 471.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.001977/0.1344, allocations: 1.27 MB / 472.9 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007071/0.1351, allocations: 379.5 kB / 473.2 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.299e-05/0.1352, allocations: 4 kB / 473.2 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003045/0.1355, allocations: 115.8 kB / 473.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001951/0.1357, allocations: 75.84 kB / 473.4 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002955/0.136, allocations: 83.58 kB / 473.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000166/0.1362, allocations: 71.8 kB / 473.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.641e-05/0.1363, allocations: 16.19 kB / 473.6 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.28e-05/0.1364, allocations: 43.83 kB / 473.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001224/0.1365, allocations: 55.86 kB / 473.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.776e-05/0.1365, allocations: 3.984 kB / 473.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001003/0.1367, allocations: 35.92 kB / 473.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.138e-05/0.1367, allocations: 23.92 kB / 473.8 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.479e-05/0.1368, allocations: 37.64 kB / 473.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001505/0.1369, allocations: 95.8 kB / 473.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.137, allocations: 4 kB / 473.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.137, allocations: 0 / 473.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.137, allocations: 0 / 473.9 MB, free: 11.39 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.000477/0.1375, allocations: 407.1 kB / 474.3 MB, free: 10.94 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.1375, allocations: 8.562 kB / 474.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.641e-05/0.1375, allocations: 15.81 kB / 474.3 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001912/0.1377, allocations: 202.7 kB / 474.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.987e-06/0.1378, allocations: 0 / 474.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.836e-05/0.1378, allocations: 4 kB / 474.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000146/0.1379, allocations: 73.48 kB / 474.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.138, allocations: 3.906 kB / 474.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.138, allocations: 4 kB / 474.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.138, allocations: 0 / 474.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.532e-05/0.1381, allocations: 23.98 kB / 474.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003878/0.1385, allocations: 304.8 kB / 474.9 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001038/0.1386, allocations: 46.5 kB / 475 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.895e-05/0.1387, allocations: 20.94 kB / 475 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.108e-05/0.1387, allocations: 0 / 475 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.371e-05/0.1387, allocations: 34.56 kB / 475 MB, free: 10.1 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.51e-07/0.1387, allocations: 0 / 475 MB, free: 10.1 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000853/0.1396, allocations: 264.9 kB / 475.3 MB, free: 9.832 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.82e-05/0.1396, allocations: 51.41 kB / 475.3 MB, free: 9.77 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002565/0.1399, allocations: 270.2 kB / 475.6 MB, free: 9.496 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.722e-05/0.1399, allocations: 33.7 kB / 475.6 MB, free: 9.457 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.825e-05/0.14, allocations: 108.1 kB / 475.7 MB, free: 9.348 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.83e-05/0.14, allocations: 23.64 kB / 475.7 MB, free: 9.324 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.42e-06/0.14, allocations: 7.938 kB / 475.8 MB, free: 9.316 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.1402, allocations: 330.8 kB / 476.1 MB, free: 8.984 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.941e-05/0.1403, allocations: 27.98 kB / 476.1 MB, free: 8.957 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.397e-05/0.1403, allocations: 27.98 kB / 476.1 MB, free: 8.93 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.54e-05/0.1404, allocations: 36.2 kB / 476.2 MB, free: 8.895 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.1404, allocations: 0 / 476.2 MB, free: 8.895 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002059/0.1406, allocations: 105.5 kB / 476.3 MB, free: 8.785 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.1407, allocations: 12 kB / 476.3 MB, free: 8.773 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.1407, allocations: 0 / 476.3 MB, free: 8.773 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.1407, allocations: 3.984 kB / 476.3 MB, free: 8.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001153/0.1408, allocations: 16 kB / 476.3 MB, free: 8.754 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.1408, allocations: 3.938 kB / 476.3 MB, free: 8.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.196e-05/0.1409, allocations: 7.984 kB / 476.3 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.277e-06/0.1409, allocations: 4 kB / 476.3 MB, free: 8.738 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001087/0.141, allocations: 141.8 kB / 476.5 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.279e-05/0.141, allocations: 11.81 kB / 476.5 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002631/0.1413, allocations: 131 kB / 476.6 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.1413, allocations: 0 / 476.6 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.1413, allocations: 0 / 476.6 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.1413, allocations: 4 kB / 476.6 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005272/0.1419, allocations: 419.2 kB / 477 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.1419, allocations: 0 / 477 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.115e-05/0.142, allocations: 31.95 kB / 477 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.142, allocations: 0 / 477 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.142, allocations: 4.422 kB / 477 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.142, allocations: 7.938 kB / 477.1 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.142, allocations: 0 / 477.1 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000237/0.1422, allocations: 216.1 kB / 477.3 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.585e-05/0.1423, allocations: 89 kB / 477.3 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.803e-05/0.1423, allocations: 7.938 kB / 477.4 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.284e-05/0.1424, allocations: 11.98 kB / 477.4 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.229e-05/0.1425, allocations: 7.922 kB / 477.4 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.036e-06/0.1425, allocations: 7.953 kB / 477.4 MB, free: 7.562 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001609/0.1426, allocations: 199.2 kB / 477.6 MB, free: 7.367 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1426, allocations: 4 kB / 477.6 MB, free: 7.363 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002542/0.1429, allocations: 27.98 kB / 477.6 MB, free: 7.336 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001007/0.1439, allocations: 454.8 kB / 478.1 MB, free: 7.066 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001981/0.1441, allocations: 67.95 kB / 478.1 MB, free: 7 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.1441, allocations: 0 / 478.1 MB, free: 7 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.703e-05/0.1442, allocations: 47.91 kB / 478.2 MB, free: 6.953 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003099/0.1445, allocations: 12.25 kB / 478.2 MB, free: 6.941 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005912/0.1451, allocations: 322.4 kB / 478.5 MB, free: 6.598 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003057/0.1455, allocations: 0.7199 MB / 479.2 MB, free: 5.852 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.259e-05/0.1455, allocations: 12.66 kB / 479.2 MB, free: 5.832 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.051e-05/0.1456, allocations: 11.44 kB / 479.2 MB, free: 5.824 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1456, allocations: 4 kB / 479.2 MB, free: 5.82 MB / 350.1 MB Notification: Performance of Templates: time 0.004542/0.1501, allocations: 1.256 MB / 480.5 MB, free: 4.57 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches