Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test74.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.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test74") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001507/0.001511, allocations: 187 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.174/2.174, 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.001187/0.001187, allocations: 98.84 kB / 270.9 MB, free: 13.38 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.2927/0.2927, allocations: 43.55 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004691/0.0004693, allocations: 12 kB / 431.4 MB, free: 20.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1219, allocations: 58.86 MB / 490.2 MB, free: 9.34 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.002813/0.1248, allocations: 1.5 MB / 491.7 MB, free: 7.824 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002072/0.1269, allocations: 0.8202 MB / 492.5 MB, free: 6.996 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001371/0.1271, allocations: 11.88 kB / 492.6 MB, free: 6.984 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005985/0.1277, allocations: 231.4 kB / 492.8 MB, free: 6.758 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004714/0.1282, allocations: 167.7 kB / 492.9 MB, free: 6.594 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006127/0.1288, allocations: 127.7 kB / 493.1 MB, free: 6.469 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003848/0.1292, allocations: 159.6 kB / 493.2 MB, free: 6.312 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.1294, allocations: 17.55 kB / 493.2 MB, free: 6.297 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002285/0.1296, allocations: 115.6 kB / 493.4 MB, free: 6.184 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002698/0.1299, allocations: 139.6 kB / 493.5 MB, free: 6.047 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.068e-05/0.1299, allocations: 4 kB / 493.5 MB, free: 6.043 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001671/0.1301, allocations: 31.92 kB / 493.5 MB, free: 6.012 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 9.649e-05/0.1302, allocations: 51.77 kB / 493.6 MB, free: 5.961 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 7.778e-05/0.1303, allocations: 57.58 kB / 493.6 MB, free: 5.898 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003272/0.1307, allocations: 164 kB / 493.8 MB, free: 5.738 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.81e-06/0.1307, allocations: 4 kB / 493.8 MB, free: 5.734 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.1307, allocations: 0 / 493.8 MB, free: 5.734 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.1307, allocations: 4 kB / 493.8 MB, free: 5.73 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0009797/0.1317, allocations: 0.5214 MB / 494.3 MB, free: 5.16 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/0.1318, allocations: 12.02 kB / 494.3 MB, free: 5.148 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.773e-05/0.1319, allocations: 31.58 kB / 494.4 MB, free: 5.117 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004572/0.1323, allocations: 263.1 kB / 494.6 MB, free: 4.816 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.442e-05/0.1324, allocations: 4 kB / 494.6 MB, free: 4.812 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.792e-05/0.1324, allocations: 7.984 kB / 494.6 MB, free: 4.805 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000319/0.1327, allocations: 103.2 kB / 494.7 MB, free: 4.691 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/0.1328, allocations: 3.906 kB / 494.7 MB, free: 4.688 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.892e-05/0.1328, allocations: 4 kB / 494.7 MB, free: 4.684 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.1328, allocations: 4 kB / 494.8 MB, free: 4.68 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001892/0.133, allocations: 39.92 kB / 494.8 MB, free: 4.641 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007315/0.1338, allocations: 460.9 kB / 495.2 MB, free: 4.137 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004339/0.1342, allocations: 109.4 kB / 495.3 MB, free: 4.012 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.801e-05/0.1343, allocations: 4 kB / 495.4 MB, free: 4.008 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003602/0.1346, allocations: 117.1 kB / 495.5 MB, free: 3.875 MB / 330.7 MB Notification: Performance of pre-optimization done (n=12): time 2.965e-06/0.1347, allocations: 0 / 495.5 MB, free: 3.875 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.00143/0.1361, allocations: 387.8 kB / 495.8 MB, free: 3.488 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.836e-05/0.1362, allocations: 77.11 kB / 495.9 MB, free: 3.395 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007618/0.137, allocations: 481.6 kB / 496.4 MB, free: 2.918 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.308e-05/0.137, allocations: 37.7 kB / 496.4 MB, free: 2.875 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001461/0.1372, allocations: 194.8 kB / 496.6 MB, free: 2.684 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.442e-05/0.1373, allocations: 51.34 kB / 496.7 MB, free: 2.633 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.267e-05/0.1373, allocations: 4 kB / 496.7 MB, free: 2.629 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.1374, allocations: 318.8 kB / 497 MB, free: 2.309 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001765/0.1376, allocations: 39.97 kB / 497 MB, free: 2.27 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001965/0.1378, allocations: 78.92 kB / 497.1 MB, free: 2.184 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001899/0.138, allocations: 51.92 kB / 497.1 MB, free: 2.133 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.138, allocations: 0 / 497.1 MB, free: 2.133 MB / 330.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005114/0.1386, allocations: 157.5 kB / 497.3 MB, free: 1.973 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/0.1386, allocations: 7.438 kB / 497.3 MB, free: 1.969 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.1386, allocations: 4 kB / 497.3 MB, free: 1.965 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/0.1386, allocations: 0 / 497.3 MB, free: 1.965 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002804/0.1389, allocations: 43.98 kB / 497.4 MB, free: 1.922 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.139, allocations: 0 / 497.4 MB, free: 1.922 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001621/0.1391, allocations: 4 kB / 497.4 MB, free: 1.918 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.779e-05/0.1392, allocations: 15.98 kB / 497.4 MB, free: 1.902 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0002704/0.1395, allocations: 173.7 kB / 497.5 MB, free: 1.723 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.095e-05/0.1395, allocations: 31.62 kB / 497.6 MB, free: 1.691 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000115/0.1397, allocations: 34.81 kB / 497.6 MB, free: 1.656 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.1397, allocations: 0 / 497.6 MB, free: 1.656 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.1397, allocations: 8 kB / 497.6 MB, free: 1.648 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.1397, allocations: 0 / 497.6 MB, free: 1.648 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001237/0.1409, allocations: 0.6439 MB / 498.3 MB, free: 0.9414 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.157e-06/0.141, allocations: 3.938 kB / 498.3 MB, free: 0.9375 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001141/0.1411, allocations: 16 kB / 498.3 MB, free: 0.9219 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.794e-06/0.1411, allocations: 0 / 498.3 MB, free: 0.9219 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.388e-05/0.1412, allocations: 12.05 kB / 498.3 MB, free: 0.9102 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/0.1412, allocations: 0 / 498.3 MB, free: 0.9102 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.1412, allocations: 4 kB / 498.3 MB, free: 0.9062 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006809/0.1419, allocations: 404.8 kB / 498.7 MB, free: 484 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001116/0.142, allocations: 104.7 kB / 498.8 MB, free: 360 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.867e-05/0.1421, allocations: 11.94 kB / 498.8 MB, free: 348 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002274/0.1423, allocations: 8 kB / 498.8 MB, free: 340 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.14e-05/0.1424, allocations: 11.98 kB / 498.8 MB, free: 328 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-05/0.1424, allocations: 12.55 kB / 498.8 MB, free: 316 kB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005951/0.143, allocations: 363.1 kB / 499.2 MB, free: 15.95 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.1431, allocations: 0 / 499.2 MB, free: 15.95 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004984/0.1436, allocations: 32 kB / 499.2 MB, free: 15.92 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001468/0.1451, allocations: 480.7 kB / 499.7 MB, free: 15.5 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005026/0.1456, allocations: 107.9 kB / 499.8 MB, free: 15.39 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.1456, allocations: 0 / 499.8 MB, free: 15.39 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002223/0.1458, allocations: 67.89 kB / 499.9 MB, free: 15.32 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006218/0.1465, allocations: 49.39 kB / 499.9 MB, free: 15.28 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001416/0.1479, allocations: 0.5938 MB / 0.4888 GB, free: 14.64 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004579/0.1484, allocations: 0.7752 MB / 0.4895 GB, free: 13.84 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001091/0.1485, allocations: 27.42 kB / 0.4896 GB, free: 13.82 MB / 346.7 MB Notification: Performance of SimCode: time 1.213e-06/0.1486, allocations: 0 / 0.4896 GB, free: 13.82 MB / 346.7 MB Notification: Performance of Templates: time 0.009319/0.1579, allocations: 3.343 MB / 0.4928 GB, free: 10.48 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test74.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test74 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test74.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches