Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.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.Test51,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.Test51") translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,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.Test51") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001225/0.001225, allocations: 97.38 kB / 15.69 MB, free: 480 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.0009473/0.0009471, allocations: 175.2 kB / 16.57 MB, free: 6.387 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.369/1.369, allocations: 205.4 MB / 222.7 MB, free: 5.672 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.3252/0.3252, allocations: 43.54 MB / 314.5 MB, free: 8.75 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.0004685/0.0004687, allocations: 16 kB / 383.9 MB, free: 8.023 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1159, allocations: 58.85 MB / 442.8 MB, free: 13.07 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.002016/0.1179, allocations: 1.388 MB / 444.1 MB, free: 11.67 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001145/0.1191, allocations: 0.7383 MB / 444.9 MB, free: 10.92 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.869e-05/0.1192, allocations: 0 / 444.9 MB, free: 10.92 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002571/0.1195, allocations: 27.84 kB / 444.9 MB, free: 10.89 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002045/0.1198, allocations: 47.89 kB / 445 MB, free: 10.85 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002651/0.12, allocations: 83.7 kB / 445 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00015/0.1202, allocations: 63.84 kB / 445.1 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.914e-05/0.1203, allocations: 16.2 kB / 445.1 MB, free: 10.69 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.821e-05/0.1204, allocations: 35.84 kB / 445.1 MB, free: 10.65 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.343e-05/0.1205, allocations: 27.86 kB / 445.2 MB, free: 10.62 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.527e-05/0.1205, allocations: 8 kB / 445.2 MB, free: 10.62 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.969e-05/0.1206, allocations: 31.86 kB / 445.2 MB, free: 10.59 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.162e-05/0.1207, allocations: 19.97 kB / 445.2 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.602e-05/0.1207, allocations: 41.64 kB / 445.3 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001496/0.1209, allocations: 84.09 kB / 445.4 MB, free: 10.44 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.1209, allocations: 0 / 445.4 MB, free: 10.44 MB / 382.1 MB Notification: Performance of FrontEnd: time 5.791e-06/0.1209, allocations: 0 / 445.4 MB, free: 10.44 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.313e-06/0.1209, allocations: 3.938 kB / 445.4 MB, free: 10.43 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.0005549/0.1215, allocations: 414.8 kB / 445.8 MB, free: 9.98 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.1215, allocations: 16.02 kB / 445.8 MB, free: 9.965 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.279e-05/0.1216, allocations: 15.81 kB / 445.8 MB, free: 9.949 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002368/0.1218, allocations: 202.9 kB / 446 MB, free: 9.711 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.824e-05/0.1219, allocations: 3.984 kB / 446 MB, free: 9.707 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.366e-05/0.1219, allocations: 7.938 kB / 446 MB, free: 9.699 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001463/0.122, allocations: 57.67 kB / 446.1 MB, free: 9.637 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.1221, allocations: 0 / 446.1 MB, free: 9.637 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.1221, allocations: 0 / 446.1 MB, free: 9.637 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.1221, allocations: 7.891 kB / 446.1 MB, free: 9.629 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.882e-05/0.1222, allocations: 23.98 kB / 446.1 MB, free: 9.605 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003504/0.1225, allocations: 292.8 kB / 446.4 MB, free: 9.27 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001538/0.1227, allocations: 54.67 kB / 446.4 MB, free: 9.207 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.373e-05/0.1227, allocations: 7.922 kB / 446.4 MB, free: 9.199 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001685/0.1229, allocations: 71.47 kB / 446.5 MB, free: 9.117 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.1229, allocations: 0 / 446.5 MB, free: 9.117 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004883/0.1234, allocations: 173.2 kB / 446.7 MB, free: 8.941 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.443e-05/0.1234, allocations: 55.41 kB / 446.7 MB, free: 8.875 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001978/0.1236, allocations: 218.7 kB / 446.9 MB, free: 8.648 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.413e-05/0.1237, allocations: 25.7 kB / 447 MB, free: 8.617 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.354e-05/0.1237, allocations: 108 kB / 447.1 MB, free: 8.508 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.635e-05/0.1238, allocations: 23.66 kB / 447.1 MB, free: 8.484 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.704e-06/0.1238, allocations: 12 kB / 447.1 MB, free: 8.473 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000115/0.1239, allocations: 322.8 kB / 447.4 MB, free: 8.148 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.474e-05/0.124, allocations: 19.98 kB / 447.4 MB, free: 8.129 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.87e-05/0.124, allocations: 37.7 kB / 447.5 MB, free: 8.086 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.45e-05/0.1241, allocations: 23.94 kB / 447.5 MB, free: 8.062 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1241, allocations: 0 / 447.5 MB, free: 8.062 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001754/0.1243, allocations: 109.5 kB / 447.6 MB, free: 7.949 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.1243, allocations: 7.953 kB / 447.6 MB, free: 7.941 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.1243, allocations: 4 kB / 447.6 MB, free: 7.938 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.1244, allocations: 0 / 447.6 MB, free: 7.938 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.499e-05/0.1244, allocations: 15.94 kB / 447.6 MB, free: 7.922 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.1245, allocations: 0 / 447.6 MB, free: 7.922 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.909e-05/0.1245, allocations: 7.984 kB / 447.6 MB, free: 7.914 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.127e-06/0.1245, allocations: 4 kB / 447.7 MB, free: 7.91 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.0001096/0.1246, allocations: 129.8 kB / 447.8 MB, free: 7.773 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.978e-05/0.1247, allocations: 15.84 kB / 447.8 MB, free: 7.758 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.22e-05/0.1247, allocations: 21.36 kB / 447.8 MB, free: 7.738 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.1247, allocations: 0 / 447.8 MB, free: 7.738 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.1247, allocations: 0 / 447.8 MB, free: 7.738 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.1247, allocations: 192 / 447.8 MB, free: 7.738 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004357/0.1252, allocations: 407.4 kB / 448.2 MB, free: 7.281 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.1252, allocations: 3.938 kB / 448.2 MB, free: 7.277 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.253e-05/0.1252, allocations: 8.375 kB / 448.2 MB, free: 7.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.1252, allocations: 4.031 kB / 448.2 MB, free: 7.266 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.979e-06/0.1253, allocations: 4 kB / 448.2 MB, free: 7.262 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.1253, allocations: 8 kB / 448.2 MB, free: 7.254 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.1253, allocations: 3.938 kB / 448.2 MB, free: 7.25 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002354/0.1255, allocations: 221.8 kB / 448.5 MB, free: 7.008 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.958e-05/0.1256, allocations: 89.02 kB / 448.5 MB, free: 6.902 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.237e-05/0.1256, allocations: 0 / 448.5 MB, free: 6.902 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.728e-05/0.1257, allocations: 11.98 kB / 448.6 MB, free: 6.891 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.142e-05/0.1258, allocations: 4 kB / 448.6 MB, free: 6.887 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.428e-05/0.1258, allocations: 4 kB / 448.6 MB, free: 6.883 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001356/0.1259, allocations: 172.3 kB / 448.7 MB, free: 6.715 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1259, allocations: 0 / 448.7 MB, free: 6.715 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002523/0.1262, allocations: 24 kB / 448.8 MB, free: 6.691 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.0009748/0.1272, allocations: 465.3 kB / 449.2 MB, free: 6.266 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001699/0.1273, allocations: 51.98 kB / 449.3 MB, free: 6.215 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1274, allocations: 0 / 449.3 MB, free: 6.215 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.489e-05/0.1274, allocations: 35.98 kB / 449.3 MB, free: 6.18 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000247/0.1277, allocations: 28.12 kB / 449.3 MB, free: 6.152 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004607/0.1282, allocations: 270.3 kB / 449.6 MB, free: 5.859 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002929/0.1285, allocations: 0.7199 MB / 450.3 MB, free: 5.113 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.879e-05/0.1285, allocations: 13.19 kB / 450.3 MB, free: 5.098 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.641e-05/0.1286, allocations: 23.36 kB / 450.3 MB, free: 5.074 MB / 382.1 MB Notification: Performance of SimCode: time 2.194e-06/0.1286, allocations: 0 / 450.3 MB, free: 5.074 MB / 382.1 MB Notification: Performance of Templates: time 0.004046/0.1326, allocations: 1.587 MB / 451.9 MB, free: 3.488 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches