Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test8.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002559/0.002559, allocations: 188.5 kB / 16.4 MB, free: 5.625 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.062/2.062, allocations: 205.4 MB / 222.5 MB, free: 13.85 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.001229/0.001228, allocations: 98.84 kB / 270.9 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2904/0.2904, allocations: 43.55 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006298/0.0006302, allocations: 12 kB / 431.4 MB, free: 20.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.1244, allocations: 58.86 MB / 490.2 MB, free: 9.344 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.002679/0.1271, allocations: 1.387 MB / 491.6 MB, free: 7.941 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.00178/0.129, allocations: 0.7267 MB / 492.3 MB, free: 7.207 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001048/0.1291, allocations: 3.938 kB / 492.3 MB, free: 7.203 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003933/0.1295, allocations: 95.72 kB / 492.4 MB, free: 7.109 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003044/0.1298, allocations: 83.81 kB / 492.5 MB, free: 7.027 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004446/0.1303, allocations: 75.78 kB / 492.6 MB, free: 6.953 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002326/0.1306, allocations: 79.83 kB / 492.7 MB, free: 6.875 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.1307, allocations: 4.234 kB / 492.7 MB, free: 6.871 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001237/0.1308, allocations: 47.83 kB / 492.7 MB, free: 6.824 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001335/0.131, allocations: 51.83 kB / 492.8 MB, free: 6.773 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.82e-05/0.131, allocations: 0 / 492.8 MB, free: 6.773 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001455/0.1312, allocations: 35.92 kB / 492.8 MB, free: 6.738 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.832e-05/0.1312, allocations: 27.91 kB / 492.8 MB, free: 6.711 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.187e-05/0.1313, allocations: 37.64 kB / 492.9 MB, free: 6.668 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002349/0.1315, allocations: 104.1 kB / 493 MB, free: 6.566 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.1315, allocations: 0 / 493 MB, free: 6.566 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.315e-06/0.1316, allocations: 0 / 493 MB, free: 6.566 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.1316, allocations: 4 kB / 493 MB, free: 6.562 MB / 330.7 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.0007282/0.1323, allocations: 414.8 kB / 493.4 MB, free: 6.109 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.724e-05/0.1324, allocations: 23.89 kB / 493.4 MB, free: 6.086 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.049e-05/0.1325, allocations: 23.77 kB / 493.4 MB, free: 6.062 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003497/0.1328, allocations: 218.6 kB / 493.6 MB, free: 5.809 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.222e-05/0.1329, allocations: 4 kB / 493.6 MB, free: 5.805 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.782e-05/0.1329, allocations: 0 / 493.6 MB, free: 5.805 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002185/0.1331, allocations: 61.66 kB / 493.7 MB, free: 5.738 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.1332, allocations: 0 / 493.7 MB, free: 5.738 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.633e-05/0.1332, allocations: 4 kB / 493.7 MB, free: 5.734 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.1332, allocations: 0 / 493.7 MB, free: 5.734 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001334/0.1333, allocations: 31.88 kB / 493.7 MB, free: 5.703 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005172/0.1339, allocations: 300.9 kB / 494 MB, free: 5.359 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002865/0.1342, allocations: 66.67 kB / 494.1 MB, free: 5.285 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.782e-05/0.1342, allocations: 4.062 kB / 494.1 MB, free: 5.281 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002593/0.1345, allocations: 79.44 kB / 494.2 MB, free: 5.191 MB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 2.885e-06/0.1345, allocations: 4 kB / 494.2 MB, free: 5.188 MB / 330.7 MB Notification: Performance of matching and sorting (n=9): time 0.0008738/0.1354, allocations: 205 kB / 494.4 MB, free: 4.98 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.304e-05/0.1355, allocations: 55.41 kB / 494.4 MB, free: 4.914 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00036/0.1359, allocations: 246.3 kB / 494.7 MB, free: 4.656 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.309e-05/0.1359, allocations: 25.7 kB / 494.7 MB, free: 4.625 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/0.136, allocations: 174.5 kB / 494.9 MB, free: 4.453 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.514e-05/0.1361, allocations: 23.7 kB / 494.9 MB, free: 4.43 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.287e-06/0.1361, allocations: 4 kB / 494.9 MB, free: 4.426 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.1362, allocations: 318.8 kB / 495.2 MB, free: 4.105 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001093/0.1364, allocations: 27.92 kB / 495.2 MB, free: 4.078 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001275/0.1365, allocations: 41.7 kB / 495.3 MB, free: 4.031 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001139/0.1366, allocations: 23.94 kB / 495.3 MB, free: 4.008 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1367, allocations: 0 / 495.3 MB, free: 4.008 MB / 330.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000369/0.137, allocations: 113.6 kB / 495.4 MB, free: 3.891 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.986e-05/0.1371, allocations: 4.031 kB / 495.4 MB, free: 3.887 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.1371, allocations: 7.953 kB / 495.4 MB, free: 3.879 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.1371, allocations: 0 / 495.4 MB, free: 3.879 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000169/0.1373, allocations: 19.98 kB / 495.4 MB, free: 3.859 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.1373, allocations: 0 / 495.4 MB, free: 3.859 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.671e-05/0.1374, allocations: 7.938 kB / 495.5 MB, free: 3.852 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.877e-05/0.1375, allocations: 8 kB / 495.5 MB, free: 3.844 MB / 330.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 (11): * Single equations (assignments): 11 * 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.0001709/0.1376, allocations: 137.4 kB / 495.6 MB, free: 3.703 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.006e-05/0.1377, allocations: 19.81 kB / 495.6 MB, free: 3.684 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.341e-05/0.1378, allocations: 25.86 kB / 495.6 MB, free: 3.66 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.137e-05/0.1378, allocations: 3.953 kB / 495.6 MB, free: 3.656 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.1378, allocations: 0 / 495.6 MB, free: 3.656 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.134e-06/0.1378, allocations: 4 kB / 495.6 MB, free: 3.652 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007812/0.1386, allocations: 427.2 kB / 496.1 MB, free: 3.176 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.1387, allocations: 0 / 496.1 MB, free: 3.176 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.95e-05/0.1387, allocations: 11.95 kB / 496.1 MB, free: 3.164 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.1388, allocations: 0 / 496.1 MB, free: 3.164 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.736e-05/0.1388, allocations: 8.031 kB / 496.1 MB, free: 3.156 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.1388, allocations: 0 / 496.1 MB, free: 3.156 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.1388, allocations: 0 / 496.1 MB, free: 3.156 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004333/0.1392, allocations: 229.9 kB / 496.3 MB, free: 2.906 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.766e-05/0.1394, allocations: 88.92 kB / 496.4 MB, free: 2.801 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.22e-05/0.1394, allocations: 11.98 kB / 496.4 MB, free: 2.789 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001175/0.1395, allocations: 8 kB / 496.4 MB, free: 2.781 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.128e-05/0.1396, allocations: 4 kB / 496.4 MB, free: 2.777 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.693e-05/0.1397, allocations: 11.92 kB / 496.4 MB, free: 2.766 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.00028/0.1399, allocations: 184.5 kB / 496.6 MB, free: 2.586 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.14, allocations: 0 / 496.6 MB, free: 2.586 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003856/0.1403, allocations: 28 kB / 496.6 MB, free: 2.559 MB / 330.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 (9): * Single equations (assignments): 7 * 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.00139/0.1417, allocations: 464.7 kB / 497.1 MB, free: 2.152 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003468/0.1421, allocations: 71.89 kB / 497.2 MB, free: 2.082 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.1421, allocations: 0 / 497.2 MB, free: 2.082 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001831/0.1423, allocations: 31.98 kB / 497.2 MB, free: 2.051 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004131/0.1428, allocations: 32.23 kB / 497.2 MB, free: 2.02 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007648/0.1435, allocations: 336.5 kB / 497.6 MB, free: 1.66 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003794/0.144, allocations: 0.7238 MB / 498.3 MB, free: 0.9102 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.24e-05/0.144, allocations: 15.44 kB / 498.3 MB, free: 0.8945 MB / 330.7 MB Notification: Performance of SimCode: time 1.072e-06/0.144, allocations: 0 / 498.3 MB, free: 0.8945 MB / 330.7 MB Notification: Performance of Templates: time 0.006153/0.1502, allocations: 2.097 MB / 0.4887 GB, free: 14.8 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test8.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test8 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches