Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34") translateModel(ModelicaTest.Tables.CombiTimeTable.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009727/0.0009725, allocations: 95.58 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008802/0.0008803, allocations: 174 kB / 16.56 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.357/1.357, allocations: 205.4 MB / 222.7 MB, free: 5.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3126/0.3126, allocations: 43.54 MB / 314.5 MB, free: 8.793 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004917/0.0004918, allocations: 12 kB / 383.9 MB, free: 8.008 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.105, allocations: 58.85 MB / 442.8 MB, free: 13.05 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.001807/0.1068, allocations: 1.388 MB / 444.1 MB, free: 11.65 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00112/0.108, allocations: 0.7267 MB / 444.9 MB, free: 10.91 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.358e-05/0.1081, allocations: 0 / 444.9 MB, free: 10.91 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002216/0.1083, allocations: 27.84 kB / 444.9 MB, free: 10.89 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001821/0.1085, allocations: 47.88 kB / 444.9 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000251/0.1087, allocations: 75.72 kB / 445 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001449/0.1089, allocations: 59.86 kB / 445.1 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.653e-05/0.109, allocations: 20.16 kB / 445.1 MB, free: 10.69 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.338e-05/0.1091, allocations: 39.83 kB / 445.1 MB, free: 10.65 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.013e-05/0.1092, allocations: 19.86 kB / 445.2 MB, free: 10.63 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.203e-05/0.1092, allocations: 4 kB / 445.2 MB, free: 10.62 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.942e-05/0.1093, allocations: 39.86 kB / 445.2 MB, free: 10.59 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.668e-05/0.1093, allocations: 11.98 kB / 445.2 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.961e-05/0.1094, allocations: 37.64 kB / 445.2 MB, free: 10.53 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001331/0.1095, allocations: 84.09 kB / 445.3 MB, free: 10.45 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.1095, allocations: 0 / 445.3 MB, free: 10.45 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1095, allocations: 0 / 445.3 MB, free: 10.45 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.497e-06/0.1095, allocations: 0 / 445.3 MB, free: 10.45 MB / 382.1 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.0004581/0.11, allocations: 410.7 kB / 445.7 MB, free: 10 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.284e-05/0.11, allocations: 8.031 kB / 445.7 MB, free: 9.992 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.581e-05/0.1101, allocations: 15.91 kB / 445.8 MB, free: 9.977 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00025/0.1103, allocations: 202.8 kB / 446 MB, free: 9.738 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.799e-05/0.1104, allocations: 4 kB / 446 MB, free: 9.734 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.194e-05/0.1104, allocations: 0 / 446 MB, free: 9.734 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001623/0.1106, allocations: 53.67 kB / 446 MB, free: 9.676 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.1106, allocations: 8 kB / 446 MB, free: 9.668 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.1106, allocations: 3.984 kB / 446 MB, free: 9.664 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.46e-05/0.1106, allocations: 3.953 kB / 446 MB, free: 9.66 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.094e-05/0.1107, allocations: 19.92 kB / 446 MB, free: 9.641 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000439/0.1112, allocations: 288.9 kB / 446.3 MB, free: 9.309 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001666/0.1113, allocations: 54.67 kB / 446.4 MB, free: 9.246 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.646e-05/0.1114, allocations: 4 kB / 446.4 MB, free: 9.242 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002074/0.1116, allocations: 75.31 kB / 446.5 MB, free: 9.156 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.683e-06/0.1116, allocations: 4 kB / 446.5 MB, free: 9.152 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006777/0.1123, allocations: 165.3 kB / 446.6 MB, free: 8.984 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.565e-05/0.1124, allocations: 51.41 kB / 446.7 MB, free: 8.922 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002027/0.1126, allocations: 186.2 kB / 446.9 MB, free: 8.73 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.236e-05/0.1126, allocations: 29.7 kB / 446.9 MB, free: 8.695 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.97e-05/0.1127, allocations: 104.1 kB / 447 MB, free: 8.59 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.769e-05/0.1127, allocations: 23.7 kB / 447 MB, free: 8.566 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.78e-06/0.1128, allocations: 0 / 447 MB, free: 8.566 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001637/0.1129, allocations: 326.8 kB / 447.3 MB, free: 8.238 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.153e-05/0.113, allocations: 20 kB / 447.3 MB, free: 8.219 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.703e-05/0.1131, allocations: 37.64 kB / 447.4 MB, free: 8.176 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.419e-05/0.1131, allocations: 23.98 kB / 447.4 MB, free: 8.152 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.1132, allocations: 0 / 447.4 MB, free: 8.152 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001955/0.1134, allocations: 101.5 kB / 447.5 MB, free: 8.047 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.427e-05/0.1134, allocations: 15.98 kB / 447.5 MB, free: 8.031 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.1134, allocations: 3.938 kB / 447.5 MB, free: 8.027 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.1134, allocations: 0 / 447.5 MB, free: 8.027 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/0.1135, allocations: 15.98 kB / 447.5 MB, free: 8.012 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.1136, allocations: 4 kB / 447.5 MB, free: 8.008 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.92e-05/0.1136, allocations: 0 / 447.5 MB, free: 8.008 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.33e-05/0.1136, allocations: 4 kB / 447.5 MB, free: 8.004 MB / 382.1 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.0001135/0.1138, allocations: 133.8 kB / 447.7 MB, free: 7.863 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.316e-05/0.1138, allocations: 7.906 kB / 447.7 MB, free: 7.855 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.548e-05/0.1138, allocations: 24.67 kB / 447.7 MB, free: 7.836 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.1139, allocations: 0 / 447.7 MB, free: 7.836 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.1139, allocations: 0 / 447.7 MB, free: 7.836 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.1139, allocations: 3.984 kB / 447.7 MB, free: 7.832 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004737/0.1144, allocations: 399.3 kB / 448.1 MB, free: 7.383 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.1144, allocations: 0 / 448.1 MB, free: 7.383 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.484e-05/0.1144, allocations: 8 kB / 448.1 MB, free: 7.375 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.1144, allocations: 0 / 448.1 MB, free: 7.375 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.1144, allocations: 4.406 kB / 448.1 MB, free: 7.371 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.369e-06/0.1144, allocations: 4 kB / 448.1 MB, free: 7.367 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.1145, allocations: 80 / 448.1 MB, free: 7.367 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002431/0.1147, allocations: 225.9 kB / 448.3 MB, free: 7.121 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.822e-05/0.1148, allocations: 88.92 kB / 448.4 MB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.316e-05/0.1148, allocations: 4 kB / 448.4 MB, free: 7.012 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.312e-05/0.1149, allocations: 8 kB / 448.4 MB, free: 7.004 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.607e-05/0.1149, allocations: 3.984 kB / 448.4 MB, free: 7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.487e-05/0.115, allocations: 4 kB / 448.4 MB, free: 6.996 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000108/0.1151, allocations: 148 kB / 448.6 MB, free: 6.852 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1151, allocations: 4 kB / 448.6 MB, free: 6.848 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002499/0.1153, allocations: 24 kB / 448.6 MB, free: 6.824 MB / 382.1 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.0009581/0.1163, allocations: 460.9 kB / 449.1 MB, free: 6.406 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001807/0.1165, allocations: 63.91 kB / 449.1 MB, free: 6.344 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1165, allocations: 0 / 449.1 MB, free: 6.344 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.579e-05/0.1166, allocations: 27.92 kB / 449.2 MB, free: 6.316 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002515/0.1168, allocations: 28.06 kB / 449.2 MB, free: 6.289 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005355/0.1174, allocations: 230.4 kB / 449.4 MB, free: 6.035 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003369/0.1177, allocations: 0.716 MB / 450.1 MB, free: 5.293 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.493e-05/0.1178, allocations: 21.16 kB / 450.1 MB, free: 5.27 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.469e-05/0.1178, allocations: 15.44 kB / 450.2 MB, free: 5.254 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1179, allocations: 0 / 450.2 MB, free: 5.254 MB / 382.1 MB Notification: Performance of Templates: time 0.004359/0.1222, allocations: 1.583 MB / 451.7 MB, free: 3.672 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test34/Test34.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches