Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test50.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.Test50,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.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,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.Test50") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008661/0.0008662, allocations: 176.1 kB / 16.72 MB, free: 5.082 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.35/1.35, allocations: 205.4 MB / 222.9 MB, free: 9.023 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.0009347/0.0009346, allocations: 94.59 kB / 271.2 MB, free: 8.23 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.3062/0.3062, allocations: 43.55 MB / 363.1 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004112/0.0004114, allocations: 12 kB / 432 MB, free: 5.84 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.1133, allocations: 58.86 MB / 490.8 MB, free: 10.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.002116/0.1154, allocations: 1.398 MB / 492.2 MB, free: 9.48 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001842/0.1173, allocations: 1.321 MB / 493.5 MB, free: 8.148 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.145e-05/0.1174, allocations: 3.938 kB / 493.6 MB, free: 8.145 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002682/0.1177, allocations: 35.89 kB / 493.6 MB, free: 8.109 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001826/0.1179, allocations: 43.83 kB / 493.6 MB, free: 8.066 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002113/0.1181, allocations: 71.84 kB / 493.7 MB, free: 7.996 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001434/0.1182, allocations: 95.69 kB / 493.8 MB, free: 7.902 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.728e-05/0.1183, allocations: 8.219 kB / 493.8 MB, free: 7.895 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.829e-05/0.1184, allocations: 39.78 kB / 493.8 MB, free: 7.855 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001668/0.1186, allocations: 43.78 kB / 493.9 MB, free: 7.812 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.016e-05/0.1186, allocations: 4 kB / 493.9 MB, free: 7.809 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001111/0.1188, allocations: 59.95 kB / 493.9 MB, free: 7.75 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.093e-05/0.1188, allocations: 11.92 kB / 494 MB, free: 7.738 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.35e-05/0.1189, allocations: 53.52 kB / 494 MB, free: 7.68 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001511/0.119, allocations: 100.1 kB / 494.1 MB, free: 7.582 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.1191, allocations: 0 / 494.1 MB, free: 7.582 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.71e-07/0.1191, allocations: 0 / 494.1 MB, free: 7.582 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.1191, allocations: 0 / 494.1 MB, free: 7.582 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.0005/0.1196, allocations: 395.2 kB / 494.5 MB, free: 7.148 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.293e-05/0.1196, allocations: 12.03 kB / 494.5 MB, free: 7.137 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.723e-05/0.1197, allocations: 8.844 kB / 494.5 MB, free: 7.129 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002265/0.1199, allocations: 216.6 kB / 494.7 MB, free: 6.879 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.1199, allocations: 11.92 kB / 494.7 MB, free: 6.867 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.128e-05/0.1199, allocations: 4 kB / 494.7 MB, free: 6.863 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001737/0.1201, allocations: 71.39 kB / 494.8 MB, free: 6.781 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.1201, allocations: 0 / 494.8 MB, free: 6.781 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.1202, allocations: 0 / 494.8 MB, free: 6.781 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.1202, allocations: 4 kB / 494.8 MB, free: 6.777 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.241e-05/0.1203, allocations: 35.91 kB / 494.8 MB, free: 6.742 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003992/0.1207, allocations: 300.7 kB / 495.1 MB, free: 6.398 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001733/0.1209, allocations: 62.67 kB / 495.2 MB, free: 6.328 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.283e-05/0.1209, allocations: 32.84 kB / 495.2 MB, free: 6.293 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.091e-05/0.121, allocations: 4.062 kB / 495.2 MB, free: 6.289 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001949/0.1212, allocations: 79.25 kB / 495.3 MB, free: 6.199 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.463e-06/0.1212, allocations: 0 / 495.3 MB, free: 6.199 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005696/0.1218, allocations: 193.3 kB / 495.5 MB, free: 6.004 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.656e-05/0.1218, allocations: 81.05 kB / 495.6 MB, free: 5.906 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001452/0.122, allocations: 158.4 kB / 495.7 MB, free: 5.738 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.686e-05/0.122, allocations: 29.7 kB / 495.8 MB, free: 5.703 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.133e-05/0.1221, allocations: 104.1 kB / 495.9 MB, free: 5.598 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.309e-05/0.1221, allocations: 27.56 kB / 495.9 MB, free: 5.57 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.23e-06/0.1221, allocations: 0 / 495.9 MB, free: 5.57 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001282/0.1222, allocations: 322.8 kB / 496.2 MB, free: 5.246 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.467e-05/0.1223, allocations: 27.92 kB / 496.2 MB, free: 5.219 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.306e-05/0.1224, allocations: 46.56 kB / 496.3 MB, free: 5.164 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001277/0.1226, allocations: 77.66 kB / 496.4 MB, free: 5.082 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.123e-06/0.1226, allocations: 0 / 496.4 MB, free: 5.082 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002017/0.1228, allocations: 113.5 kB / 496.5 MB, free: 4.965 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.1228, allocations: 7.438 kB / 496.5 MB, free: 4.961 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.1228, allocations: 0 / 496.5 MB, free: 4.961 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.1228, allocations: 3.938 kB / 496.5 MB, free: 4.957 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.197e-05/0.1229, allocations: 19.94 kB / 496.5 MB, free: 4.938 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.123, allocations: 4.453 kB / 496.5 MB, free: 4.934 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.71e-05/0.123, allocations: 8.031 kB / 496.5 MB, free: 4.926 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.15e-05/0.123, allocations: 8 kB / 496.5 MB, free: 4.918 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 9.734e-05/0.1231, allocations: 125.8 kB / 496.6 MB, free: 4.789 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.762e-05/0.1231, allocations: 7.906 kB / 496.7 MB, free: 4.781 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.486e-05/0.1232, allocations: 28.56 kB / 496.7 MB, free: 4.754 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.1232, allocations: 0 / 496.7 MB, free: 4.754 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.1232, allocations: 4 kB / 496.7 MB, free: 4.75 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.1232, allocations: 0 / 496.7 MB, free: 4.75 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005073/0.1237, allocations: 419.2 kB / 497.1 MB, free: 4.281 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.1238, allocations: 0 / 497.1 MB, free: 4.281 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.132e-05/0.1238, allocations: 11.98 kB / 497.1 MB, free: 4.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.022e-06/0.1238, allocations: 4 kB / 497.1 MB, free: 4.266 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/0.1239, allocations: 0 / 497.1 MB, free: 4.266 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.1239, allocations: 0 / 497.1 MB, free: 4.266 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.78e-06/0.1239, allocations: 7.938 kB / 497.1 MB, free: 4.258 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003829/0.1243, allocations: 216.2 kB / 497.3 MB, free: 4.027 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.844e-05/0.1244, allocations: 89.02 kB / 497.4 MB, free: 3.922 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.723e-05/0.1244, allocations: 7.938 kB / 497.4 MB, free: 3.914 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.817e-05/0.1245, allocations: 7.984 kB / 497.4 MB, free: 3.906 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.673e-05/0.1245, allocations: 4 kB / 497.4 MB, free: 3.902 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.874e-05/0.1246, allocations: 4 kB / 497.4 MB, free: 3.898 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.997e-05/0.1247, allocations: 127.9 kB / 497.6 MB, free: 3.773 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1247, allocations: 4 kB / 497.6 MB, free: 3.77 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002635/0.1249, allocations: 31.98 kB / 497.6 MB, free: 3.738 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.000992/0.1259, allocations: 0.4922 MB / 498.1 MB, free: 3.281 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001884/0.1261, allocations: 67.86 kB / 498.2 MB, free: 3.215 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1262, allocations: 0 / 498.2 MB, free: 3.215 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.628e-05/0.1262, allocations: 35.92 kB / 498.2 MB, free: 3.18 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003214/0.1266, allocations: 35.91 kB / 498.2 MB, free: 3.145 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000514/0.1271, allocations: 252 kB / 498.5 MB, free: 2.867 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002767/0.1274, allocations: 0.7005 MB / 499.2 MB, free: 2.141 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.669e-05/0.1275, allocations: 23.42 kB / 499.2 MB, free: 2.121 MB / 378.7 MB Notification: Performance of SimCode: time 4.11e-07/0.1275, allocations: 0 / 499.2 MB, free: 2.121 MB / 378.7 MB Notification: Performance of Templates: time 0.1743/0.3018, allocations: 2.137 MB / 0.4896 GB, free: 42.59 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test50.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test50 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test50.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches