Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.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.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76") translateModel(ModelicaTest.Tables.CombiTimeTable.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009567/0.0009566, allocations: 95.89 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.0009644/0.0009644, allocations: 175.4 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.386/1.386, 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.3128/0.3128, allocations: 43.55 MB / 314.5 MB, free: 8.82 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.0004785/0.0004786, allocations: 22.97 kB / 383.9 MB, free: 8.016 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1117, allocations: 58.85 MB / 442.8 MB, free: 13.06 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.002053/0.1138, allocations: 1.384 MB / 444.1 MB, free: 11.66 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001196/0.1151, allocations: 0.7306 MB / 444.9 MB, free: 10.93 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001019/0.1152, allocations: 3.938 kB / 444.9 MB, free: 10.92 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002632/0.1155, allocations: 47.81 kB / 444.9 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001946/0.1157, allocations: 43.88 kB / 445 MB, free: 10.83 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000254/0.1159, allocations: 75.78 kB / 445 MB, free: 10.76 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001672/0.1161, allocations: 75.83 kB / 445.1 MB, free: 10.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.661e-05/0.1162, allocations: 8.219 kB / 445.1 MB, free: 10.68 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001052/0.1163, allocations: 43.83 kB / 445.2 MB, free: 10.63 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.974e-05/0.1164, allocations: 39.84 kB / 445.2 MB, free: 10.59 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.652e-05/0.1164, allocations: 4 kB / 445.2 MB, free: 10.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.076e-05/0.1165, allocations: 31.92 kB / 445.2 MB, free: 10.56 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.291e-05/0.1166, allocations: 19.92 kB / 445.3 MB, free: 10.54 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.839e-05/0.1166, allocations: 37.64 kB / 445.3 MB, free: 10.5 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001538/0.1168, allocations: 96.06 kB / 445.4 MB, free: 10.4 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.1168, allocations: 4 kB / 445.4 MB, free: 10.4 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1168, allocations: 0 / 445.4 MB, free: 10.4 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.1168, allocations: 0 / 445.4 MB, free: 10.4 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005134/0.1173, allocations: 414.8 kB / 445.8 MB, free: 9.945 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.262e-05/0.1174, allocations: 12.02 kB / 445.8 MB, free: 9.934 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.889e-05/0.1174, allocations: 7.906 kB / 445.8 MB, free: 9.926 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002463/0.1177, allocations: 227.3 kB / 446 MB, free: 9.664 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.1177, allocations: 0 / 446 MB, free: 9.664 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.403e-05/0.1177, allocations: 8 kB / 446 MB, free: 9.656 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001545/0.1179, allocations: 61.66 kB / 446.1 MB, free: 9.59 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.1179, allocations: 0 / 446.1 MB, free: 9.59 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.1179, allocations: 4 kB / 446.1 MB, free: 9.586 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.623e-05/0.118, allocations: 7.953 kB / 446.1 MB, free: 9.578 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.672e-05/0.1181, allocations: 39.97 kB / 446.2 MB, free: 9.539 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003839/0.1185, allocations: 300.9 kB / 446.4 MB, free: 9.195 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001914/0.1187, allocations: 86.59 kB / 446.5 MB, free: 9.102 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.701e-05/0.1187, allocations: 8.219 kB / 446.5 MB, free: 9.094 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001783/0.1189, allocations: 83.33 kB / 446.6 MB, free: 9 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.443e-06/0.1189, allocations: 0 / 446.6 MB, free: 9 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005735/0.1195, allocations: 221.3 kB / 446.8 MB, free: 8.777 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.831e-05/0.1195, allocations: 63.34 kB / 446.9 MB, free: 8.703 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001633/0.1197, allocations: 183.2 kB / 447.1 MB, free: 8.516 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.036e-05/0.1197, allocations: 33.69 kB / 447.1 MB, free: 8.477 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.021e-05/0.1198, allocations: 100.3 kB / 447.2 MB, free: 8.375 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.254e-05/0.1198, allocations: 35.62 kB / 447.2 MB, free: 8.34 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.519e-06/0.1198, allocations: 0 / 447.2 MB, free: 8.34 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001115/0.1199, allocations: 326.8 kB / 447.6 MB, free: 8.012 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.298e-05/0.12, allocations: 23.98 kB / 447.6 MB, free: 7.988 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.135e-05/0.1201, allocations: 49.64 kB / 447.6 MB, free: 7.934 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.074e-05/0.1202, allocations: 35.98 kB / 447.7 MB, free: 7.898 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.1202, allocations: 0 / 447.7 MB, free: 7.898 MB / 382.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002007/0.1204, allocations: 129.4 kB / 447.8 MB, free: 7.766 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.1204, allocations: 8.141 kB / 447.8 MB, free: 7.758 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.89e-06/0.1204, allocations: 4 kB / 447.8 MB, free: 7.754 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.1205, allocations: 3.938 kB / 447.8 MB, free: 7.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.899e-05/0.1206, allocations: 23.92 kB / 447.8 MB, free: 7.727 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.1206, allocations: 0 / 447.8 MB, free: 7.727 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.774e-05/0.1206, allocations: 8 kB / 447.8 MB, free: 7.719 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.838e-06/0.1206, allocations: 4 kB / 447.8 MB, free: 7.715 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 (12): * Single equations (assignments): 12 * 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.000105/0.1207, allocations: 129.9 kB / 448 MB, free: 7.578 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.386e-05/0.1208, allocations: 15.81 kB / 448 MB, free: 7.562 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.642e-05/0.1208, allocations: 17.36 kB / 448 MB, free: 7.547 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.1208, allocations: 4 kB / 448 MB, free: 7.543 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.1208, allocations: 0 / 448 MB, free: 7.543 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.1209, allocations: 3.984 kB / 448 MB, free: 7.539 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005112/0.1214, allocations: 423.2 kB / 448.4 MB, free: 7.066 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.1214, allocations: 4.031 kB / 448.4 MB, free: 7.062 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.574e-05/0.1214, allocations: 19.98 kB / 448.5 MB, free: 7.043 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.1214, allocations: 0 / 448.5 MB, free: 7.043 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.1215, allocations: 4 kB / 448.5 MB, free: 7.039 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.1215, allocations: 0 / 448.5 MB, free: 7.039 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1215, allocations: 3.938 kB / 448.5 MB, free: 7.035 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002623/0.1217, allocations: 245.8 kB / 448.7 MB, free: 6.77 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.22e-05/0.1218, allocations: 89.02 kB / 448.8 MB, free: 6.664 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.646e-05/0.1218, allocations: 3.984 kB / 448.8 MB, free: 6.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.088e-05/0.1219, allocations: 4 kB / 448.8 MB, free: 6.656 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.694e-05/0.122, allocations: 15.92 kB / 448.8 MB, free: 6.641 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.621e-05/0.122, allocations: 4 kB / 448.8 MB, free: 6.637 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001179/0.1221, allocations: 144.9 kB / 449 MB, free: 6.496 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.91e-07/0.1221, allocations: 0 / 449 MB, free: 6.496 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002739/0.1224, allocations: 20 kB / 449 MB, free: 6.477 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 (10): * Single equations (assignments): 8 * 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.001149/0.1236, allocations: 473.6 kB / 449.4 MB, free: 6.047 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002078/0.1238, allocations: 75.91 kB / 449.5 MB, free: 5.973 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1238, allocations: 4.062 kB / 449.5 MB, free: 5.969 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.332e-05/0.1239, allocations: 39.92 kB / 449.6 MB, free: 5.93 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002777/0.1242, allocations: 31.92 kB / 449.6 MB, free: 5.898 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005331/0.1247, allocations: 258.1 kB / 449.8 MB, free: 5.617 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003388/0.1251, allocations: 0.7165 MB / 450.6 MB, free: 4.875 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.584e-05/0.1252, allocations: 21.06 kB / 450.6 MB, free: 4.852 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.337e-05/0.1252, allocations: 19.44 kB / 450.6 MB, free: 4.832 MB / 382.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1252, allocations: 4 kB / 450.6 MB, free: 4.828 MB / 382.1 MB Notification: Performance of Templates: time 0.005363/0.1306, allocations: 1.746 MB / 452.3 MB, free: 3.086 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches