Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001187/0.001188, allocations: 104.7 kB / 17.63 MB, free: 5.336 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.001093/0.001093, allocations: 192 kB / 18.56 MB, free: 4.43 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.333/1.333, allocations: 222.9 MB / 242.2 MB, free: 15.27 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.1996/0.1996, allocations: 44.19 MB / 336.6 MB, free: 2.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 68.64 kB / 408.4 MB, free: 27.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1323, allocations: 60.83 MB / 469.3 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test29): time 0.002922/0.1353, allocations: 1.606 MB / 470.9 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007093/0.136, allocations: 419.1 kB / 471.3 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.297e-05/0.1361, allocations: 8 kB / 471.3 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002058/0.1363, allocations: 31.84 kB / 471.3 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001789/0.1365, allocations: 43.77 kB / 471.4 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002371/0.1367, allocations: 87.75 kB / 471.4 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001438/0.1369, allocations: 75.83 kB / 471.5 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.137, allocations: 24 kB / 471.5 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.849e-05/0.1371, allocations: 31.84 kB / 471.6 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.632e-05/0.1372, allocations: 35.84 kB / 471.6 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.774e-05/0.1372, allocations: 4 kB / 471.6 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.328e-05/0.1373, allocations: 47.92 kB / 471.7 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.657e-05/0.1373, allocations: 19.91 kB / 471.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.031e-05/0.1374, allocations: 35.69 kB / 471.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001519/0.1375, allocations: 104 kB / 471.8 MB, free: 11.81 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.1375, allocations: 0 / 471.8 MB, free: 11.81 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1376, allocations: 0 / 471.8 MB, free: 11.81 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.005e-06/0.1376, allocations: 4 kB / 471.8 MB, free: 11.81 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000428/0.138, allocations: 399.1 kB / 472.2 MB, free: 11.37 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.39e-05/0.1381, allocations: 8.031 kB / 472.2 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.044e-05/0.1381, allocations: 12.83 kB / 472.2 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001767/0.1383, allocations: 192.1 kB / 472.4 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.437e-06/0.1383, allocations: 384 / 472.4 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.453e-05/0.1383, allocations: 16.3 kB / 472.4 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001533/0.1385, allocations: 65.8 kB / 472.5 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.1385, allocations: 8 kB / 472.5 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.347e-06/0.1385, allocations: 0 / 472.5 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.1385, allocations: 4 kB / 472.5 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001132/0.1387, allocations: 39.95 kB / 472.5 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003785/0.139, allocations: 320.6 kB / 472.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001292/0.1392, allocations: 70.66 kB / 472.9 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.56e-05/0.1393, allocations: 24.78 kB / 472.9 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.72e-05/0.1393, allocations: 4 kB / 472.9 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.356e-05/0.1393, allocations: 30.56 kB / 473 MB, free: 10.48 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 9.42e-07/0.1393, allocations: 0 / 473 MB, free: 10.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.000994/0.1403, allocations: 301 kB / 473.3 MB, free: 10.18 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.021e-05/0.1404, allocations: 51.41 kB / 473.3 MB, free: 10.11 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001459/0.1405, allocations: 148.3 kB / 473.5 MB, free: 9.961 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.1406, allocations: 29.7 kB / 473.5 MB, free: 9.926 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.041e-05/0.1406, allocations: 108 kB / 473.6 MB, free: 9.816 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.835e-05/0.1407, allocations: 39.45 kB / 473.6 MB, free: 9.777 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.22e-05/0.1407, allocations: 29.72 kB / 473.7 MB, free: 9.742 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.1409, allocations: 322.8 kB / 474 MB, free: 9.418 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.614e-05/0.1409, allocations: 31.97 kB / 474 MB, free: 9.387 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.827e-05/0.141, allocations: 39.98 kB / 474.1 MB, free: 9.348 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001744/0.1412, allocations: 91.45 kB / 474.1 MB, free: 9.258 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.1412, allocations: 0 / 474.1 MB, free: 9.258 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002412/0.1415, allocations: 141.4 kB / 474.3 MB, free: 9.113 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.1415, allocations: 4 kB / 474.3 MB, free: 9.109 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.1415, allocations: 0 / 474.3 MB, free: 9.109 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.1415, allocations: 3.938 kB / 474.3 MB, free: 9.105 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001129/0.1416, allocations: 31.97 kB / 474.3 MB, free: 9.074 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.1416, allocations: 0 / 474.3 MB, free: 9.074 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.3e-05/0.1417, allocations: 11.94 kB / 474.3 MB, free: 9.062 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-06/0.1417, allocations: 4 kB / 474.3 MB, free: 9.059 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 (13): * Single equations (assignments): 13 * 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 0.0001475/0.1419, allocations: 129.8 kB / 474.5 MB, free: 8.922 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.304e-05/0.1419, allocations: 7.906 kB / 474.5 MB, free: 8.914 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003679/0.1423, allocations: 167 kB / 474.6 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.745e-06/0.1423, allocations: 3.984 kB / 474.6 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.1423, allocations: 3.938 kB / 474.6 MB, free: 8.738 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.1423, allocations: 0 / 474.6 MB, free: 8.738 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005976/0.1429, allocations: 467.1 kB / 475.1 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.1429, allocations: 4 kB / 475.1 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.188e-05/0.143, allocations: 23.98 kB / 475.1 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.143, allocations: 0 / 475.1 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.143, allocations: 3.984 kB / 475.1 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.1431, allocations: 4 kB / 475.1 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.1431, allocations: 4.031 kB / 475.1 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002624/0.1433, allocations: 232.2 kB / 475.4 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.975e-05/0.1434, allocations: 85.02 kB / 475.4 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.04e-05/0.1434, allocations: 4 kB / 475.5 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.223e-05/0.1435, allocations: 7.984 kB / 475.5 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.355e-05/0.1435, allocations: 19.92 kB / 475.5 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.093e-06/0.1435, allocations: 4 kB / 475.5 MB, free: 7.801 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.372e-05/0.1436, allocations: 119.2 kB / 475.6 MB, free: 7.684 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1436, allocations: 0 / 475.6 MB, free: 7.684 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002507/0.1439, allocations: 31.91 kB / 475.6 MB, free: 7.652 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 (13): * Single equations (assignments): 13 * 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.001027/0.1449, allocations: 450.1 kB / 476.1 MB, free: 7.387 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003033/0.1452, allocations: 107.8 kB / 476.2 MB, free: 7.281 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1452, allocations: 3.938 kB / 476.2 MB, free: 7.277 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001048/0.1454, allocations: 51.91 kB / 476.2 MB, free: 7.227 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003655/0.1457, allocations: 31.61 kB / 476.3 MB, free: 7.199 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005818/0.1463, allocations: 239.2 kB / 476.5 MB, free: 6.938 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002903/0.1466, allocations: 0.704 MB / 477.2 MB, free: 6.207 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.779e-05/0.1467, allocations: 20.53 kB / 477.2 MB, free: 6.188 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.874e-05/0.1467, allocations: 19.44 kB / 477.2 MB, free: 6.168 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1467, allocations: 0 / 477.2 MB, free: 6.168 MB / 350.1 MB Notification: Performance of Templates: time 0.00421/0.151, allocations: 1.477 MB / 478.7 MB, free: 4.699 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test29/Test29.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches