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.0009271/0.000927, allocations: 175.6 kB / 16.72 MB, free: 5.078 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.273/1.273, allocations: 205.4 MB / 222.9 MB, free: 8.945 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.000727/0.0007271, allocations: 96.78 kB / 271.2 MB, free: 8.238 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.3451/0.3451, allocations: 43.56 MB / 363.1 MB, free: 51.84 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004398/0.0004399, allocations: 12 kB / 432 MB, free: 5.594 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1167, allocations: 58.86 MB / 490.8 MB, free: 10.65 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.002023/0.1187, allocations: 1.394 MB / 492.2 MB, free: 9.246 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001108/0.1199, allocations: 0.7461 MB / 493 MB, free: 8.492 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.415e-05/0.12, allocations: 0 / 493 MB, free: 8.492 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003137/0.1203, allocations: 103.7 kB / 493.1 MB, free: 8.391 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002/0.1205, allocations: 71.78 kB / 493.1 MB, free: 8.32 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002213/0.1207, allocations: 71.84 kB / 493.2 MB, free: 8.25 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001537/0.1209, allocations: 95.73 kB / 493.3 MB, free: 8.156 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.481e-05/0.121, allocations: 16.22 kB / 493.3 MB, free: 8.141 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.341e-05/0.1211, allocations: 59.75 kB / 493.4 MB, free: 8.082 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001106/0.1212, allocations: 51.81 kB / 493.4 MB, free: 8.031 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.933e-05/0.1212, allocations: 7.938 kB / 493.4 MB, free: 8.023 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.456e-05/0.1213, allocations: 35.98 kB / 493.5 MB, free: 7.988 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.376e-05/0.1214, allocations: 23.92 kB / 493.5 MB, free: 7.965 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.001e-05/0.1215, allocations: 69.36 kB / 493.6 MB, free: 7.891 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001617/0.1216, allocations: 96.08 kB / 493.7 MB, free: 7.797 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.259e-06/0.1217, allocations: 4 kB / 493.7 MB, free: 7.793 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1217, allocations: 4 kB / 493.7 MB, free: 7.789 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.1217, allocations: 0 / 493.7 MB, free: 7.789 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005787/0.1223, allocations: 418.8 kB / 494.1 MB, free: 7.332 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.1223, allocations: 8.031 kB / 494.1 MB, free: 7.324 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.922e-05/0.1224, allocations: 16.75 kB / 494.1 MB, free: 7.309 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002373/0.1226, allocations: 235.6 kB / 494.3 MB, free: 7.039 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/0.1226, allocations: 4.375 kB / 494.3 MB, free: 7.035 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.287e-05/0.1226, allocations: 8.125 kB / 494.3 MB, free: 7.027 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001493/0.1228, allocations: 65.66 kB / 494.4 MB, free: 6.957 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.1228, allocations: 0 / 494.4 MB, free: 6.957 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.1228, allocations: 0 / 494.4 MB, free: 6.957 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.1229, allocations: 0 / 494.4 MB, free: 6.957 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.627e-05/0.123, allocations: 35.91 kB / 494.4 MB, free: 6.922 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003863/0.1233, allocations: 300.8 kB / 494.7 MB, free: 6.578 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001845/0.1235, allocations: 70.67 kB / 494.8 MB, free: 6.5 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.468e-05/0.1236, allocations: 28.78 kB / 494.8 MB, free: 6.469 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.493e-05/0.1237, allocations: 4 kB / 494.8 MB, free: 6.465 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000185/0.1238, allocations: 71.33 kB / 494.9 MB, free: 6.383 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.723e-06/0.1239, allocations: 0 / 494.9 MB, free: 6.383 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005914/0.1244, allocations: 213 kB / 495.1 MB, free: 6.168 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.491e-05/0.1245, allocations: 51.41 kB / 495.2 MB, free: 6.105 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002216/0.1247, allocations: 242.5 kB / 495.4 MB, free: 5.855 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.88e-05/0.1248, allocations: 33.7 kB / 495.4 MB, free: 5.816 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.757e-05/0.1248, allocations: 112.1 kB / 495.5 MB, free: 5.703 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.778e-05/0.1249, allocations: 27.7 kB / 495.6 MB, free: 5.676 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.89e-06/0.1249, allocations: 0 / 495.6 MB, free: 5.676 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.125, allocations: 330.8 kB / 495.9 MB, free: 5.344 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.976e-05/0.1251, allocations: 27.98 kB / 495.9 MB, free: 5.316 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.296e-05/0.1251, allocations: 41.64 kB / 496 MB, free: 5.27 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001229/0.1253, allocations: 65.7 kB / 496 MB, free: 5.199 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.1253, allocations: 4 kB / 496 MB, free: 5.195 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001865/0.1255, allocations: 113.4 kB / 496.1 MB, free: 5.078 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.1255, allocations: 4 kB / 496.1 MB, free: 5.074 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/0.1255, allocations: 8.031 kB / 496.2 MB, free: 5.066 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.1255, allocations: 3.938 kB / 496.2 MB, free: 5.062 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.409e-05/0.1256, allocations: 15.94 kB / 496.2 MB, free: 5.047 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.1257, allocations: 4.469 kB / 496.2 MB, free: 5.043 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.225e-05/0.1257, allocations: 16.05 kB / 496.2 MB, free: 5.027 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/0.1257, allocations: 4 kB / 496.2 MB, free: 5.023 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 (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.0001081/0.1258, allocations: 145.5 kB / 496.3 MB, free: 4.875 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.403e-05/0.1259, allocations: 15.81 kB / 496.4 MB, free: 4.859 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.273e-05/0.1259, allocations: 13.41 kB / 496.4 MB, free: 4.848 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.176e-05/0.1259, allocations: 11.98 kB / 496.4 MB, free: 4.836 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.1259, allocations: 0 / 496.4 MB, free: 4.836 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.072e-06/0.126, allocations: 3.938 kB / 496.4 MB, free: 4.832 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000465/0.1264, allocations: 419.3 kB / 496.8 MB, free: 4.363 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.1264, allocations: 0 / 496.8 MB, free: 4.363 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.894e-05/0.1265, allocations: 15.98 kB / 496.8 MB, free: 4.348 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.1265, allocations: 0 / 496.8 MB, free: 4.348 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.379e-05/0.1265, allocations: 3.938 kB / 496.8 MB, free: 4.344 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.1265, allocations: 11.97 kB / 496.8 MB, free: 4.332 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1265, allocations: 0 / 496.8 MB, free: 4.332 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002406/0.1268, allocations: 216.1 kB / 497 MB, free: 4.102 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.575e-05/0.1268, allocations: 92.91 kB / 497.1 MB, free: 3.992 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.082e-05/0.1269, allocations: 7.938 kB / 497.1 MB, free: 3.984 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/0.127, allocations: 8 kB / 497.1 MB, free: 3.977 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.846e-05/0.1271, allocations: 11.98 kB / 497.2 MB, free: 3.965 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.08e-05/0.1271, allocations: 4 kB / 497.2 MB, free: 3.961 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002329/0.1273, allocations: 184.2 kB / 497.3 MB, free: 3.781 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.1273, allocations: 4 kB / 497.3 MB, free: 3.777 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004427/0.1278, allocations: 27.98 kB / 497.4 MB, free: 3.75 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 (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.001357/0.1292, allocations: 469.7 kB / 497.8 MB, free: 3.336 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001823/0.1294, allocations: 67.91 kB / 497.9 MB, free: 3.27 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.1294, allocations: 0 / 497.9 MB, free: 3.27 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.33e-05/0.1294, allocations: 35.92 kB / 497.9 MB, free: 3.234 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003207/0.1298, allocations: 23.98 kB / 498 MB, free: 3.211 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004849/0.1303, allocations: 332.7 kB / 498.3 MB, free: 2.852 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000254/0.1305, allocations: 0.716 MB / 499 MB, free: 2.109 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.207e-05/0.1306, allocations: 23.42 kB / 499 MB, free: 2.086 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.1306, allocations: 0 / 499 MB, free: 2.086 MB / 378.7 MB Notification: Performance of Templates: time 0.1761/0.3067, allocations: 2.099 MB / 0.4894 GB, free: 42.55 MB / 378.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/jenkins/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