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.001244/0.001244, allocations: 107.6 kB / 17.21 MB, free: 6.289 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.0012/0.0012, allocations: 194 kB / 18.12 MB, free: 5.383 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.486/1.486, allocations: 222.9 MB / 241.8 MB, free: 15.5 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.223/0.223, allocations: 44.18 MB / 336.1 MB, free: 3.012 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001171, allocations: 64.11 kB / 407.7 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1363, allocations: 60.83 MB / 468.5 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test34): time 0.003032/0.1394, allocations: 1.625 MB / 470.2 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007608/0.1402, allocations: 407.3 kB / 470.6 MB, free: 12.81 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.677e-05/0.1402, allocations: 0 / 470.6 MB, free: 12.81 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000256/0.1405, allocations: 71.84 kB / 470.6 MB, free: 12.74 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000149/0.1407, allocations: 55.75 kB / 470.7 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002381/0.1409, allocations: 91.33 kB / 470.8 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001423/0.1411, allocations: 67.88 kB / 470.8 MB, free: 12.53 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.1412, allocations: 12.19 kB / 470.8 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.54e-05/0.1412, allocations: 35.78 kB / 470.9 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001018/0.1414, allocations: 51.88 kB / 470.9 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.826e-05/0.1414, allocations: 4 kB / 470.9 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.385e-05/0.1415, allocations: 36 kB / 471 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.891e-05/0.1415, allocations: 23.91 kB / 471 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.468e-05/0.1416, allocations: 31.73 kB / 471 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000161/0.1418, allocations: 95.98 kB / 471.1 MB, free: 12.25 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.1418, allocations: 4 kB / 471.1 MB, free: 12.24 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.32e-07/0.1418, allocations: 0 / 471.1 MB, free: 12.24 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.687e-06/0.1418, allocations: 0 / 471.1 MB, free: 12.24 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.0004775/0.1423, allocations: 409.9 kB / 471.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.1423, allocations: 8.031 kB / 471.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.666e-05/0.1424, allocations: 8.844 kB / 471.5 MB, free: 11.78 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001806/0.1425, allocations: 204.1 kB / 471.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.876e-06/0.1426, allocations: 384 / 471.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.525e-05/0.1426, allocations: 8.375 kB / 471.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001486/0.1427, allocations: 53.61 kB / 471.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/0.1428, allocations: 3.906 kB / 471.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.1428, allocations: 4 kB / 471.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.1428, allocations: 0 / 471.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001074/0.1429, allocations: 27.92 kB / 471.8 MB, free: 11.44 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003859/0.1433, allocations: 292.8 kB / 472.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.821e-05/0.1434, allocations: 42.56 kB / 472.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.884e-05/0.1435, allocations: 16.94 kB / 472.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.234e-05/0.1435, allocations: 4 kB / 472.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.039e-05/0.1435, allocations: 38.5 kB / 472.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.1435, allocations: 0 / 472.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008883/0.1444, allocations: 217 kB / 472.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.451e-05/0.1445, allocations: 55.41 kB / 472.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001909/0.1447, allocations: 218.1 kB / 472.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.576e-05/0.1447, allocations: 29.64 kB / 472.7 MB, free: 10.44 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.563e-05/0.1448, allocations: 104 kB / 472.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.192e-05/0.1448, allocations: 27.64 kB / 472.9 MB, free: 10.31 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.641e-05/0.1449, allocations: 17.72 kB / 472.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001071/0.145, allocations: 322.8 kB / 473.2 MB, free: 9.961 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.816e-05/0.1451, allocations: 27.98 kB / 473.2 MB, free: 9.934 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.738e-05/0.1451, allocations: 28.05 kB / 473.2 MB, free: 9.906 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001398/0.1453, allocations: 60.83 kB / 473.3 MB, free: 9.844 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.1453, allocations: 0 / 473.3 MB, free: 9.844 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002049/0.1455, allocations: 109.4 kB / 473.4 MB, free: 9.73 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.1455, allocations: 4 kB / 473.4 MB, free: 9.727 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.1455, allocations: 3.938 kB / 473.4 MB, free: 9.723 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.1456, allocations: 0 / 473.4 MB, free: 9.723 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.1457, allocations: 24.41 kB / 473.4 MB, free: 9.699 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.1457, allocations: 3.938 kB / 473.4 MB, free: 9.695 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.995e-05/0.1457, allocations: 4 kB / 473.4 MB, free: 9.691 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.274e-06/0.1457, allocations: 0 / 473.4 MB, free: 9.691 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.538e-05/0.1458, allocations: 130.4 kB / 473.6 MB, free: 9.555 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.317e-05/0.1459, allocations: 7.906 kB / 473.6 MB, free: 9.547 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002474/0.1461, allocations: 118.6 kB / 473.7 MB, free: 9.426 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.1461, allocations: 7.984 kB / 473.7 MB, free: 9.418 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.1462, allocations: 3.938 kB / 473.7 MB, free: 9.414 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.1462, allocations: 0 / 473.7 MB, free: 9.414 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004804/0.1467, allocations: 403.3 kB / 474.1 MB, free: 8.961 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.1467, allocations: 3.984 kB / 474.1 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.83e-05/0.1467, allocations: 23.94 kB / 474.1 MB, free: 8.934 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.1468, allocations: 4.031 kB / 474.1 MB, free: 8.93 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.794e-06/0.1468, allocations: 0 / 474.1 MB, free: 8.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.478e-06/0.1468, allocations: 3.984 kB / 474.1 MB, free: 8.926 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1468, allocations: 7.938 kB / 474.1 MB, free: 8.918 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000233/0.147, allocations: 192.3 kB / 474.3 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.884e-05/0.1471, allocations: 92.94 kB / 474.4 MB, free: 8.602 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.968e-05/0.1471, allocations: 12 kB / 474.4 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.702e-05/0.1472, allocations: 0 / 474.4 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.686e-05/0.1472, allocations: 7.984 kB / 474.4 MB, free: 8.582 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.141e-06/0.1472, allocations: 4 kB / 474.4 MB, free: 8.578 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001124/0.1473, allocations: 155.2 kB / 474.6 MB, free: 8.426 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1474, allocations: 0 / 474.6 MB, free: 8.426 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002567/0.1476, allocations: 20 kB / 474.6 MB, free: 8.406 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.001002/0.1486, allocations: 462 kB / 475.1 MB, free: 8.133 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000212/0.1488, allocations: 63.94 kB / 475.1 MB, free: 8.07 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.1489, allocations: 4 kB / 475.1 MB, free: 8.066 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.503e-05/0.149, allocations: 39.92 kB / 475.2 MB, free: 8.027 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00035/0.1493, allocations: 23.92 kB / 475.2 MB, free: 8.004 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004436/0.1498, allocations: 269 kB / 475.5 MB, free: 7.707 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002617/0.15, allocations: 0.7082 MB / 476.2 MB, free: 6.973 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.152e-05/0.1501, allocations: 12.97 kB / 476.2 MB, free: 6.953 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.402e-05/0.1501, allocations: 11.44 kB / 476.2 MB, free: 6.945 MB / 350.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1501, allocations: 0 / 476.2 MB, free: 6.945 MB / 350.1 MB Notification: Performance of Templates: time 0.003563/0.1537, allocations: 1.269 MB / 477.5 MB, free: 5.68 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