Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 102.2 kB / 16.27 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00134/0.00134, allocations: 193.4 kB / 17.2 MB, free: 5.598 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.665/1.665, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2229/0.2229, allocations: 43.52 MB / 313.9 MB, free: 0.5312 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.001981/0.001982, allocations: 74 kB / 382.7 MB, free: 56.79 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1189, allocations: 57.79 MB / 440.5 MB, free: 6.91 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.003576/0.1225, allocations: 1.905 MB / 442.4 MB, free: 4.988 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00124/0.1238, allocations: 0.8272 MB / 443.3 MB, free: 4.152 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000145/0.1239, allocations: 4 kB / 443.3 MB, free: 4.148 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000349/0.1243, allocations: 55.69 kB / 443.3 MB, free: 4.094 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002264/0.1245, allocations: 55.64 kB / 443.4 MB, free: 4.039 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002873/0.1248, allocations: 99.73 kB / 443.5 MB, free: 3.941 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001668/0.125, allocations: 135.6 kB / 443.6 MB, free: 3.809 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001343/0.1252, allocations: 33.7 kB / 443.6 MB, free: 3.77 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.941e-05/0.1252, allocations: 59.72 kB / 443.7 MB, free: 3.711 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.979e-05/0.1253, allocations: 51.64 kB / 443.7 MB, free: 3.66 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.36e-05/0.1254, allocations: 8 kB / 443.8 MB, free: 3.652 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.505e-05/0.1255, allocations: 43.98 kB / 443.8 MB, free: 3.609 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.228e-05/0.1255, allocations: 27.92 kB / 443.8 MB, free: 3.582 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.297e-05/0.1256, allocations: 51.67 kB / 443.9 MB, free: 3.531 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001901/0.1258, allocations: 143.5 kB / 444 MB, free: 3.391 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.1258, allocations: 0 / 444 MB, free: 3.391 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1258, allocations: 0 / 444 MB, free: 3.391 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.194e-06/0.1258, allocations: 8 kB / 444 MB, free: 3.383 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005275/0.1263, allocations: 476.4 kB / 444.5 MB, free: 2.863 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.1264, allocations: 15.89 kB / 444.5 MB, free: 2.848 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.989e-05/0.1264, allocations: 16.75 kB / 444.5 MB, free: 2.832 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000203/0.1267, allocations: 212.1 kB / 444.7 MB, free: 2.586 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/0.1267, allocations: 8.359 kB / 444.7 MB, free: 2.578 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.518e-05/0.1267, allocations: 12.12 kB / 444.7 MB, free: 2.566 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002134/0.1269, allocations: 112.1 kB / 444.9 MB, free: 2.441 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.1269, allocations: 0 / 444.9 MB, free: 2.441 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/0.127, allocations: 3.984 kB / 444.9 MB, free: 2.438 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.127, allocations: 4 kB / 444.9 MB, free: 2.434 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001384/0.1271, allocations: 51.91 kB / 444.9 MB, free: 2.383 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004558/0.1276, allocations: 0.5048 MB / 445.4 MB, free: 1.82 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000308/0.1279, allocations: 94.59 kB / 445.5 MB, free: 1.719 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.192e-05/0.128, allocations: 40.83 kB / 445.6 MB, free: 1.676 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.27e-05/0.128, allocations: 4 kB / 445.6 MB, free: 1.672 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002419/0.1283, allocations: 87.25 kB / 445.6 MB, free: 1.574 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.573e-06/0.1283, allocations: 3.938 kB / 445.6 MB, free: 1.57 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003793/0.1287, allocations: 141.5 kB / 445.8 MB, free: 1.426 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.727e-05/0.1287, allocations: 59.34 kB / 445.8 MB, free: 1.355 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000141/0.1289, allocations: 195.4 kB / 446 MB, free: 1.156 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.2e-05/0.1289, allocations: 25.7 kB / 446.1 MB, free: 1.125 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.458e-05/0.1289, allocations: 116 kB / 446.2 MB, free: 1.008 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.236e-05/0.129, allocations: 27.64 kB / 446.2 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.033e-05/0.129, allocations: 29.7 kB / 446.2 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.804e-05/0.1291, allocations: 326.8 kB / 446.5 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001009/0.1292, allocations: 35.98 kB / 446.6 MB, free: 0.582 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.023e-05/0.1293, allocations: 63.89 kB / 446.6 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001582/0.1294, allocations: 104.2 kB / 446.7 MB, free: 400 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.1294, allocations: 4 kB / 446.7 MB, free: 396 kB / 318.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002227/0.1297, allocations: 133.7 kB / 446.9 MB, free: 256 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.1297, allocations: 7.938 kB / 446.9 MB, free: 248 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.1297, allocations: 96 / 446.9 MB, free: 248 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.1297, allocations: 7.938 kB / 446.9 MB, free: 240 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.885e-05/0.1298, allocations: 28.05 kB / 446.9 MB, free: 212 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.383e-06/0.1298, allocations: 4 kB / 446.9 MB, free: 208 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.386e-05/0.1299, allocations: 11.91 kB / 446.9 MB, free: 196 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-06/0.1299, allocations: 4 kB / 446.9 MB, free: 192 kB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.514e-05/0.13, allocations: 134.8 kB / 447.1 MB, free: 48 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.347e-05/0.13, allocations: 15.81 kB / 447.1 MB, free: 32 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.047e-05/0.1301, allocations: 13.41 kB / 447.1 MB, free: 16 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.1301, allocations: 3.938 kB / 447.1 MB, free: 12 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.1301, allocations: 4 kB / 447.1 MB, free: 8 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.1301, allocations: 7.984 kB / 447.1 MB, free: 0 / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002033/0.1303, allocations: 209.5 kB / 447.3 MB, free: 15.75 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.1303, allocations: 0 / 447.3 MB, free: 15.75 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.181e-05/0.1304, allocations: 8 kB / 447.3 MB, free: 15.74 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.1304, allocations: 0 / 447.3 MB, free: 15.74 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.1304, allocations: 8 kB / 447.3 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.1304, allocations: 3.938 kB / 447.3 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1304, allocations: 0 / 447.3 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003693/0.1308, allocations: 184.8 kB / 447.5 MB, free: 15.53 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.539e-05/0.1309, allocations: 85.05 kB / 447.6 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.459e-05/0.1309, allocations: 3.938 kB / 447.6 MB, free: 15.42 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.298e-05/0.131, allocations: 11.92 kB / 447.6 MB, free: 15.41 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.343e-05/0.131, allocations: 8 kB / 447.6 MB, free: 15.4 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-05/0.1311, allocations: 7.984 kB / 447.6 MB, free: 15.39 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001069/0.1312, allocations: 137.2 kB / 447.8 MB, free: 15.26 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1312, allocations: 0 / 447.8 MB, free: 15.26 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002299/0.1314, allocations: 35.95 kB / 447.8 MB, free: 15.23 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009335/0.1324, allocations: 412 kB / 448.2 MB, free: 14.89 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000239/0.1326, allocations: 83.89 kB / 448.3 MB, free: 14.81 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1326, allocations: 3.938 kB / 448.3 MB, free: 14.81 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.407e-05/0.1327, allocations: 31.98 kB / 448.3 MB, free: 14.78 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002909/0.133, allocations: 37.8 kB / 448.4 MB, free: 14.74 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005538/0.1336, allocations: 264 kB / 448.6 MB, free: 14.46 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002765/0.1339, allocations: 0.72 MB / 449.3 MB, free: 13.71 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.365e-05/0.134, allocations: 25.39 kB / 449.4 MB, free: 13.69 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.116e-05/0.134, allocations: 19.44 kB / 449.4 MB, free: 13.67 MB / 334.1 MB Notification: Performance of SimCode: time 2.61e-07/0.134, allocations: 4 kB / 449.4 MB, free: 13.67 MB / 334.1 MB Notification: Performance of Templates: time 0.005293/0.1393, allocations: 1.863 MB / 451.2 MB, free: 11.81 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches