Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test49.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test49") translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test49") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001574/0.00158, allocations: 182.1 kB / 16.4 MB, free: 5.754 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.014/2.014, allocations: 205.4 MB / 222.5 MB, free: 9.109 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001165/0.001165, allocations: 89.3 kB / 270.9 MB, free: 8.363 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5317/0.5317, allocations: 43.56 MB / 362.7 MB, free: 51.84 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000642/0.0006423, allocations: 23.94 kB / 431.4 MB, free: 5.922 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1251, allocations: 58.84 MB / 490.2 MB, free: 10.98 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.002633/0.1278, allocations: 1.382 MB / 491.6 MB, free: 9.586 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001748/0.1296, allocations: 0.7422 MB / 492.3 MB, free: 8.836 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.043e-05/0.1297, allocations: 0 / 492.3 MB, free: 8.836 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002857/0.13, allocations: 31.83 kB / 492.4 MB, free: 8.805 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002424/0.1302, allocations: 51.86 kB / 492.4 MB, free: 8.754 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003645/0.1306, allocations: 71.8 kB / 492.5 MB, free: 8.684 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001807/0.1308, allocations: 63.84 kB / 492.6 MB, free: 8.621 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.469e-05/0.1309, allocations: 16.22 kB / 492.6 MB, free: 8.605 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001119/0.131, allocations: 39.84 kB / 492.6 MB, free: 8.566 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.134e-05/0.1311, allocations: 27.84 kB / 492.6 MB, free: 8.539 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.965e-05/0.1312, allocations: 4 kB / 492.6 MB, free: 8.535 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001173/0.1313, allocations: 23.94 kB / 492.7 MB, free: 8.512 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.85e-05/0.1314, allocations: 31.89 kB / 492.7 MB, free: 8.48 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.168e-05/0.1314, allocations: 49.58 kB / 492.8 MB, free: 8.426 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002134/0.1317, allocations: 96.08 kB / 492.8 MB, free: 8.332 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.474e-06/0.1317, allocations: 0 / 492.8 MB, free: 8.332 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.1317, allocations: 0 / 492.8 MB, free: 8.332 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.1317, allocations: 4 kB / 492.8 MB, free: 8.328 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006551/0.1324, allocations: 426.6 kB / 493.3 MB, free: 7.863 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/0.1324, allocations: 16.02 kB / 493.3 MB, free: 7.848 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.24e-05/0.1325, allocations: 11.81 kB / 493.3 MB, free: 7.836 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000297/0.1328, allocations: 206.9 kB / 493.5 MB, free: 7.594 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.896e-05/0.1328, allocations: 0 / 493.5 MB, free: 7.594 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.369e-05/0.1329, allocations: 4 kB / 493.5 MB, free: 7.59 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000192/0.1331, allocations: 57.61 kB / 493.6 MB, free: 7.527 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.1331, allocations: 11.84 kB / 493.6 MB, free: 7.516 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.1331, allocations: 0 / 493.6 MB, free: 7.516 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.1331, allocations: 3.953 kB / 493.6 MB, free: 7.512 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001161/0.1333, allocations: 23.98 kB / 493.6 MB, free: 7.488 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004561/0.1337, allocations: 284.9 kB / 493.9 MB, free: 7.16 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00025/0.134, allocations: 62.62 kB / 493.9 MB, free: 7.09 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.594e-05/0.134, allocations: 0 / 493.9 MB, free: 7.09 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002463/0.1343, allocations: 71.47 kB / 494 MB, free: 7.008 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.904e-06/0.1343, allocations: 0 / 494 MB, free: 7.008 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007857/0.1351, allocations: 181 kB / 494.2 MB, free: 6.824 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.728e-05/0.1352, allocations: 55.41 kB / 494.2 MB, free: 6.758 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000373/0.1356, allocations: 258.5 kB / 494.5 MB, free: 6.492 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.973e-05/0.1356, allocations: 37.69 kB / 494.5 MB, free: 6.449 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/0.1357, allocations: 170.5 kB / 494.7 MB, free: 6.281 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.9e-05/0.1358, allocations: 19.8 kB / 494.7 MB, free: 6.262 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.102e-06/0.1358, allocations: 0 / 494.7 MB, free: 6.262 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.1359, allocations: 322.8 kB / 495 MB, free: 5.938 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.781e-05/0.136, allocations: 12 kB / 495 MB, free: 5.926 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001136/0.1362, allocations: 41.64 kB / 495.1 MB, free: 5.879 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001059/0.1363, allocations: 28 kB / 495.1 MB, free: 5.852 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1363, allocations: 0 / 495.1 MB, free: 5.852 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002896/0.1366, allocations: 89.58 kB / 495.2 MB, free: 5.758 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.1366, allocations: 11.7 kB / 495.2 MB, free: 5.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.1366, allocations: 4 kB / 495.2 MB, free: 5.746 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.1367, allocations: 3.938 kB / 495.2 MB, free: 5.742 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001486/0.1368, allocations: 19.92 kB / 495.2 MB, free: 5.723 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.1368, allocations: 0 / 495.2 MB, free: 5.723 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.555e-05/0.1369, allocations: 8 kB / 495.2 MB, free: 5.715 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.513e-05/0.137, allocations: 8.031 kB / 495.2 MB, free: 5.707 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001566/0.1371, allocations: 137.8 kB / 495.4 MB, free: 5.562 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.018e-05/0.1372, allocations: 11.81 kB / 495.4 MB, free: 5.551 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.405e-05/0.1373, allocations: 25.34 kB / 495.4 MB, free: 5.527 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.1373, allocations: 0 / 495.4 MB, free: 5.527 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.1373, allocations: 4 kB / 495.4 MB, free: 5.523 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.1373, allocations: 0 / 495.4 MB, free: 5.523 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006976/0.138, allocations: 411.2 kB / 495.8 MB, free: 5.062 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.138, allocations: 192 / 495.8 MB, free: 5.062 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.42e-05/0.1381, allocations: 12 kB / 495.8 MB, free: 5.051 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.1381, allocations: 7.875 kB / 495.8 MB, free: 5.043 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/0.1381, allocations: 0 / 495.8 MB, free: 5.043 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.56e-06/0.1382, allocations: 4 kB / 495.8 MB, free: 5.039 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.1382, allocations: 0 / 495.8 MB, free: 5.039 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003948/0.1386, allocations: 226.1 kB / 496.1 MB, free: 4.793 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.763e-05/0.1387, allocations: 88.92 kB / 496.2 MB, free: 4.688 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.606e-05/0.1387, allocations: 4 kB / 496.2 MB, free: 4.684 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001235/0.1388, allocations: 4 kB / 496.2 MB, free: 4.68 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.277e-05/0.1389, allocations: 7.984 kB / 496.2 MB, free: 4.672 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.481e-05/0.1389, allocations: 4 kB / 496.2 MB, free: 4.668 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002805/0.1392, allocations: 204 kB / 496.4 MB, free: 4.469 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.91e-07/0.1392, allocations: 4 kB / 496.4 MB, free: 4.465 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003762/0.1396, allocations: 28 kB / 496.4 MB, free: 4.438 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001388/0.141, allocations: 456.4 kB / 496.8 MB, free: 4.035 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000324/0.1414, allocations: 67.95 kB / 496.9 MB, free: 3.969 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.1414, allocations: 0 / 496.9 MB, free: 3.969 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001242/0.1415, allocations: 27.92 kB / 496.9 MB, free: 3.941 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003948/0.142, allocations: 31.38 kB / 497 MB, free: 3.914 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007599/0.1427, allocations: 328.8 kB / 497.3 MB, free: 3.559 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003793/0.1431, allocations: 0.7238 MB / 498 MB, free: 2.809 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.864e-05/0.1432, allocations: 15.44 kB / 498 MB, free: 2.793 MB / 378.7 MB Notification: Performance of SimCode: time 2.856e-06/0.1432, allocations: 7.938 kB / 498 MB, free: 2.785 MB / 378.7 MB Notification: Performance of Templates: time 0.005933/0.1492, allocations: 2.031 MB / 0.4884 GB, free: 0.7578 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test49.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test49.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test49 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test49.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches