Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test8.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.Test8,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.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,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.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001515/0.001515, allocations: 179.9 kB / 16.41 MB, free: 5.703 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.86/1.86, allocations: 205.4 MB / 222.5 MB, free: 9.031 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.0009832/0.0009833, allocations: 90.28 kB / 270.9 MB, free: 8.355 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.3455/0.3455, allocations: 43.56 MB / 362.7 MB, free: 52.1 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003762/0.0003763, allocations: 12 kB / 431.4 MB, free: 6.16 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.115, allocations: 58.85 MB / 490.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.001929/0.1169, allocations: 1.401 MB / 491.6 MB, free: 9.816 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001072/0.118, allocations: 0.7383 MB / 492.4 MB, free: 9.07 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.481e-05/0.1181, allocations: 0 / 492.4 MB, free: 9.07 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003064/0.1184, allocations: 91.8 kB / 492.5 MB, free: 8.98 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001976/0.1186, allocations: 83.77 kB / 492.5 MB, free: 8.898 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002261/0.1189, allocations: 75.84 kB / 492.6 MB, free: 8.824 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000152/0.119, allocations: 103.7 kB / 492.7 MB, free: 8.723 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.782e-05/0.1191, allocations: 16.14 kB / 492.7 MB, free: 8.707 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.449e-05/0.1192, allocations: 51.77 kB / 492.8 MB, free: 8.656 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.045e-05/0.1193, allocations: 55.83 kB / 492.8 MB, free: 8.602 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.55e-05/0.1193, allocations: 0 / 492.8 MB, free: 8.602 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.737e-05/0.1194, allocations: 39.97 kB / 492.9 MB, free: 8.562 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.638e-05/0.1195, allocations: 23.92 kB / 492.9 MB, free: 8.539 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.159e-05/0.1195, allocations: 45.58 kB / 493 MB, free: 8.488 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001588/0.1197, allocations: 100.1 kB / 493 MB, free: 8.391 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.1197, allocations: 3.938 kB / 493.1 MB, free: 8.387 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1197, allocations: 0 / 493.1 MB, free: 8.387 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.1197, allocations: 0 / 493.1 MB, free: 8.387 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.0005598/0.1203, allocations: 430.7 kB / 493.5 MB, free: 7.918 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.1204, allocations: 12.02 kB / 493.5 MB, free: 7.906 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.213e-05/0.1204, allocations: 15.81 kB / 493.5 MB, free: 7.891 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000226/0.1206, allocations: 214.5 kB / 493.7 MB, free: 7.641 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.861e-05/0.1207, allocations: 8 kB / 493.7 MB, free: 7.633 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.708e-05/0.1207, allocations: 0 / 493.7 MB, free: 7.633 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001539/0.1208, allocations: 65.64 kB / 493.8 MB, free: 7.562 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.1209, allocations: 3.938 kB / 493.8 MB, free: 7.559 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.1209, allocations: 0 / 493.8 MB, free: 7.559 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.375e-06/0.1209, allocations: 7.953 kB / 493.8 MB, free: 7.551 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.857e-05/0.121, allocations: 27.98 kB / 493.8 MB, free: 7.523 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000403/0.1214, allocations: 304.8 kB / 494.1 MB, free: 7.176 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001933/0.1216, allocations: 66.62 kB / 494.2 MB, free: 7.102 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.325e-05/0.1217, allocations: 24.84 kB / 494.2 MB, free: 7.074 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.536e-05/0.1217, allocations: 8.062 kB / 494.2 MB, free: 7.066 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002054/0.1219, allocations: 79.33 kB / 494.3 MB, free: 6.977 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.442e-06/0.1219, allocations: 0 / 494.3 MB, free: 6.977 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005898/0.1225, allocations: 201 kB / 494.5 MB, free: 6.773 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/0.1226, allocations: 55.41 kB / 494.5 MB, free: 6.707 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002013/0.1228, allocations: 242.5 kB / 494.8 MB, free: 6.457 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.486e-05/0.1228, allocations: 25.7 kB / 494.8 MB, free: 6.426 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.745e-05/0.1229, allocations: 116.1 kB / 494.9 MB, free: 6.309 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.235e-05/0.1229, allocations: 27.61 kB / 494.9 MB, free: 6.281 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.865e-06/0.1229, allocations: 4 kB / 494.9 MB, free: 6.277 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.1231, allocations: 322.8 kB / 495.3 MB, free: 5.953 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.761e-05/0.1231, allocations: 31.92 kB / 495.3 MB, free: 5.922 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.249e-05/0.1232, allocations: 41.7 kB / 495.3 MB, free: 5.875 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.77e-05/0.1233, allocations: 32.03 kB / 495.4 MB, free: 5.844 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.1233, allocations: 0 / 495.4 MB, free: 5.844 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002607/0.1236, allocations: 121.4 kB / 495.5 MB, free: 5.719 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.1236, allocations: 4 kB / 495.5 MB, free: 5.715 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.1236, allocations: 0 / 495.5 MB, free: 5.715 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.1237, allocations: 7.938 kB / 495.5 MB, free: 5.707 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/0.1238, allocations: 15.98 kB / 495.5 MB, free: 5.691 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.1238, allocations: 3.938 kB / 495.5 MB, free: 5.688 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.153e-05/0.1239, allocations: 11.94 kB / 495.5 MB, free: 5.676 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.798e-06/0.1239, allocations: 8.031 kB / 495.5 MB, free: 5.668 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 0.0001169/0.124, allocations: 137.5 kB / 495.7 MB, free: 5.527 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.305e-05/0.124, allocations: 15.77 kB / 495.7 MB, free: 5.512 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.969e-05/0.1241, allocations: 21.39 kB / 495.7 MB, free: 5.488 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.1241, allocations: 0 / 495.7 MB, free: 5.488 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.1241, allocations: 4 kB / 495.7 MB, free: 5.484 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.1241, allocations: 0 / 495.7 MB, free: 5.484 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004703/0.1246, allocations: 423.3 kB / 496.1 MB, free: 5.012 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.1246, allocations: 0 / 496.1 MB, free: 5.012 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.127e-05/0.1247, allocations: 11.98 kB / 496.1 MB, free: 5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.596e-06/0.1247, allocations: 4 kB / 496.1 MB, free: 4.996 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.867e-06/0.1247, allocations: 0 / 496.1 MB, free: 4.996 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1247, allocations: 0 / 496.1 MB, free: 4.996 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1247, allocations: 0 / 496.1 MB, free: 4.996 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002558/0.1249, allocations: 232.1 kB / 496.4 MB, free: 4.75 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.607e-05/0.125, allocations: 88.92 kB / 496.5 MB, free: 4.645 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.431e-05/0.1251, allocations: 8.188 kB / 496.5 MB, free: 4.637 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.116e-05/0.1251, allocations: 4 kB / 496.5 MB, free: 4.633 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.7e-05/0.1252, allocations: 15.86 kB / 496.5 MB, free: 4.617 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.612e-05/0.1252, allocations: 4 kB / 496.5 MB, free: 4.613 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001522/0.1254, allocations: 184.5 kB / 496.7 MB, free: 4.434 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1254, allocations: 0 / 496.7 MB, free: 4.434 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000242/0.1256, allocations: 28 kB / 496.7 MB, free: 4.406 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.0009724/0.1266, allocations: 464.7 kB / 497.1 MB, free: 3.992 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001932/0.1268, allocations: 63.91 kB / 497.2 MB, free: 3.93 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1268, allocations: 4.062 kB / 497.2 MB, free: 3.926 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.156e-05/0.1269, allocations: 39.91 kB / 497.3 MB, free: 3.887 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003334/0.1272, allocations: 40.05 kB / 497.3 MB, free: 3.848 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004991/0.1277, allocations: 328.7 kB / 497.6 MB, free: 3.492 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003062/0.1281, allocations: 0.716 MB / 498.3 MB, free: 2.75 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.169e-05/0.1281, allocations: 19.44 kB / 498.3 MB, free: 2.73 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.1281, allocations: 0 / 498.3 MB, free: 2.73 MB / 378.7 MB Notification: Performance of Templates: time 0.003801/0.1319, allocations: 2.101 MB / 0.4887 GB, free: 0.6367 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test8.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test8 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches