Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test48.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.Test48,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.Test48") translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,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.Test48") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001256/0.001256, allocations: 177.2 kB / 16.41 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.938/1.938, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.0008435/0.0008433, allocations: 94.3 kB / 270.9 MB, free: 8.359 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.3749/0.3749, allocations: 43.56 MB / 362.7 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004164/0.0004166, allocations: 19.98 kB / 431.4 MB, free: 6.156 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1212, allocations: 58.85 MB / 490.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.002074/0.1234, allocations: 1.398 MB / 491.6 MB, free: 9.816 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001167/0.1246, allocations: 0.7461 MB / 492.4 MB, free: 9.062 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.706e-05/0.1246, allocations: 7.938 kB / 492.4 MB, free: 9.055 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003039/0.1249, allocations: 47.86 kB / 492.4 MB, free: 9.008 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001889/0.1251, allocations: 51.83 kB / 492.5 MB, free: 8.957 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000237/0.1254, allocations: 71.84 kB / 492.6 MB, free: 8.887 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001406/0.1255, allocations: 91.69 kB / 492.6 MB, free: 8.797 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.862e-05/0.1257, allocations: 12.2 kB / 492.7 MB, free: 8.785 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.587e-05/0.1257, allocations: 43.78 kB / 492.7 MB, free: 8.742 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.303e-05/0.1258, allocations: 27.86 kB / 492.7 MB, free: 8.715 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.713e-05/0.1259, allocations: 0 / 492.7 MB, free: 8.715 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.522e-05/0.1259, allocations: 43.91 kB / 492.8 MB, free: 8.672 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.367e-05/0.126, allocations: 23.92 kB / 492.8 MB, free: 8.648 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.504e-05/0.1261, allocations: 45.64 kB / 492.8 MB, free: 8.598 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001548/0.1262, allocations: 96.08 kB / 492.9 MB, free: 8.504 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.1262, allocations: 0 / 492.9 MB, free: 8.504 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1262, allocations: 0 / 492.9 MB, free: 8.504 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.1262, allocations: 4 kB / 492.9 MB, free: 8.5 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.00054/0.1268, allocations: 426.6 kB / 493.4 MB, free: 8.035 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.1268, allocations: 16.02 kB / 493.4 MB, free: 8.02 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.411e-05/0.1269, allocations: 11.81 kB / 493.4 MB, free: 8.008 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002264/0.1271, allocations: 206.9 kB / 493.6 MB, free: 7.766 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.73e-05/0.1271, allocations: 4 kB / 493.6 MB, free: 7.762 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.2e-05/0.1272, allocations: 11.94 kB / 493.6 MB, free: 7.75 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001415/0.1273, allocations: 49.67 kB / 493.6 MB, free: 7.695 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.1273, allocations: 3.906 kB / 493.7 MB, free: 7.691 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/0.1274, allocations: 7.984 kB / 493.7 MB, free: 7.684 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.1274, allocations: 3.953 kB / 493.7 MB, free: 7.68 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.36e-05/0.1274, allocations: 23.92 kB / 493.7 MB, free: 7.656 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003987/0.1279, allocations: 289 kB / 494 MB, free: 7.324 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001608/0.128, allocations: 54.67 kB / 494 MB, free: 7.262 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.018e-05/0.1281, allocations: 16.86 kB / 494 MB, free: 7.242 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.988e-05/0.1281, allocations: 0 / 494 MB, free: 7.242 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001825/0.1283, allocations: 79.27 kB / 494.1 MB, free: 7.152 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.522e-06/0.1283, allocations: 4 kB / 494.1 MB, free: 7.148 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005353/0.1289, allocations: 181.2 kB / 494.3 MB, free: 6.965 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.968e-05/0.1289, allocations: 55.41 kB / 494.4 MB, free: 6.898 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002406/0.1292, allocations: 258.5 kB / 494.6 MB, free: 6.633 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.1292, allocations: 33.64 kB / 494.6 MB, free: 6.594 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.329e-05/0.1293, allocations: 112 kB / 494.7 MB, free: 6.48 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.648e-05/0.1293, allocations: 19.8 kB / 494.8 MB, free: 6.461 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.37e-06/0.1293, allocations: 4 kB / 494.8 MB, free: 6.457 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.1294, allocations: 330.8 kB / 495.1 MB, free: 6.125 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.531e-05/0.1295, allocations: 19.98 kB / 495.1 MB, free: 6.105 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.226e-05/0.1296, allocations: 37.7 kB / 495.1 MB, free: 6.062 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.121e-05/0.1296, allocations: 20 kB / 495.2 MB, free: 6.043 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.1296, allocations: 0 / 495.2 MB, free: 6.043 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001804/0.1298, allocations: 109.4 kB / 495.3 MB, free: 5.93 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.1298, allocations: 12.03 kB / 495.3 MB, free: 5.918 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.1299, allocations: 0 / 495.3 MB, free: 5.918 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.1299, allocations: 0 / 495.3 MB, free: 5.918 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.878e-05/0.13, allocations: 19.92 kB / 495.3 MB, free: 5.898 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.189e-06/0.13, allocations: 4 kB / 495.3 MB, free: 5.895 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.569e-05/0.13, allocations: 0 / 495.3 MB, free: 5.895 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.796e-06/0.13, allocations: 4 kB / 495.3 MB, free: 5.891 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.0001044/0.1301, allocations: 133.8 kB / 495.4 MB, free: 5.75 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.151e-05/0.1302, allocations: 19.77 kB / 495.5 MB, free: 5.73 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.187e-05/0.1302, allocations: 29.39 kB / 495.5 MB, free: 5.699 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.1302, allocations: 0 / 495.5 MB, free: 5.699 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.1303, allocations: 7.922 kB / 495.5 MB, free: 5.691 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.1303, allocations: 0 / 495.5 MB, free: 5.691 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004201/0.1307, allocations: 411.1 kB / 495.9 MB, free: 5.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1307, allocations: 0 / 495.9 MB, free: 5.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.112e-05/0.1307, allocations: 8 kB / 495.9 MB, free: 5.223 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.1307, allocations: 0 / 495.9 MB, free: 5.223 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.1308, allocations: 8.031 kB / 495.9 MB, free: 5.215 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.1308, allocations: 0 / 495.9 MB, free: 5.215 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1308, allocations: 0 / 495.9 MB, free: 5.215 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002098/0.131, allocations: 200.2 kB / 496.1 MB, free: 5 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.028e-05/0.131, allocations: 96.86 kB / 496.2 MB, free: 4.887 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.32e-05/0.1311, allocations: 8 kB / 496.2 MB, free: 4.879 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.362e-05/0.1312, allocations: 4 kB / 496.2 MB, free: 4.875 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.665e-05/0.1312, allocations: 7.984 kB / 496.2 MB, free: 4.867 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.529e-05/0.1312, allocations: 4 kB / 496.2 MB, free: 4.863 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00016/0.1314, allocations: 208.1 kB / 496.4 MB, free: 4.66 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1314, allocations: 0 / 496.4 MB, free: 4.66 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002357/0.1316, allocations: 23.94 kB / 496.5 MB, free: 4.637 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.0009307/0.1326, allocations: 468 kB / 496.9 MB, free: 4.23 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001653/0.1327, allocations: 63.89 kB / 497 MB, free: 4.168 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1328, allocations: 0 / 497 MB, free: 4.168 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.755e-05/0.1328, allocations: 31.94 kB / 497 MB, free: 4.137 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003187/0.1332, allocations: 28.09 kB / 497 MB, free: 4.109 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000504/0.1337, allocations: 340.5 kB / 497.4 MB, free: 3.742 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002591/0.1339, allocations: 0.716 MB / 498.1 MB, free: 3 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.465e-05/0.134, allocations: 19.44 kB / 498.1 MB, free: 2.98 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.134, allocations: 0 / 498.1 MB, free: 2.98 MB / 378.7 MB Notification: Performance of Templates: time 0.003486/0.1375, allocations: 2.023 MB / 0.4884 GB, free: 0.9609 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test48.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test48.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test48 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test48.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches