Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") translateModel(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001267/0.001267, allocations: 96.14 kB / 15.87 MB, free: 16 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.001394/0.001394, allocations: 204.6 kB / 16.79 MB, free: 6.84 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.628/1.628, allocations: 205.1 MB / 222.6 MB, free: 4.977 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.3984/0.3984, allocations: 43.49 MB / 313.5 MB, free: 8.625 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.002069/0.002069, allocations: 71.89 kB / 382 MB, free: 9.039 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2025/0.2046, allocations: 57.79 MB / 439.8 MB, free: 15.15 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.005205/0.2098, allocations: 1.756 MB / 441.6 MB, free: 13.38 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00212/0.212, allocations: 0.8157 MB / 442.4 MB, free: 12.55 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001655/0.2122, allocations: 0 / 442.4 MB, free: 12.55 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005057/0.2128, allocations: 39.83 kB / 442.4 MB, free: 12.52 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000396/0.2132, allocations: 39.84 kB / 442.5 MB, free: 12.48 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003973/0.2136, allocations: 83.83 kB / 442.6 MB, free: 12.39 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002426/0.2138, allocations: 83.77 kB / 442.6 MB, free: 12.31 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001458/0.214, allocations: 20.2 kB / 442.7 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001399/0.2141, allocations: 43.78 kB / 442.7 MB, free: 12.25 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001268/0.2143, allocations: 39.72 kB / 442.7 MB, free: 12.21 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.143e-05/0.2143, allocations: 3.938 kB / 442.7 MB, free: 12.21 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002244/0.2145, allocations: 63.95 kB / 442.8 MB, free: 12.14 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.108e-05/0.2146, allocations: 15.92 kB / 442.8 MB, free: 12.13 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.966e-05/0.2147, allocations: 23.81 kB / 442.8 MB, free: 12.11 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003522/0.2151, allocations: 127.9 kB / 443 MB, free: 11.98 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.094e-05/0.2151, allocations: 4 kB / 443 MB, free: 11.98 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.2151, allocations: 0 / 443 MB, free: 11.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.574e-05/0.2151, allocations: 4 kB / 443 MB, free: 11.97 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0009/0.2161, allocations: 411 kB / 443.4 MB, free: 11.52 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.033e-05/0.2161, allocations: 8.031 kB / 443.4 MB, free: 11.52 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001159/0.2163, allocations: 12.84 kB / 443.4 MB, free: 11.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004313/0.2167, allocations: 204.1 kB / 443.6 MB, free: 11.27 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.2167, allocations: 4.375 kB / 443.6 MB, free: 11.26 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.394e-05/0.2168, allocations: 8.125 kB / 443.6 MB, free: 11.25 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002611/0.217, allocations: 87.3 kB / 443.7 MB, free: 11.16 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.996e-05/0.2171, allocations: 3.906 kB / 443.7 MB, free: 11.15 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.803e-05/0.2171, allocations: 0 / 443.7 MB, free: 11.15 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.2171, allocations: 0 / 443.7 MB, free: 11.15 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001249/0.2172, allocations: 23.98 kB / 443.7 MB, free: 11.13 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006063/0.2179, allocations: 288.8 kB / 444 MB, free: 10.8 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002112/0.2181, allocations: 62.48 kB / 444.1 MB, free: 10.73 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.221e-05/0.2182, allocations: 28.97 kB / 444.1 MB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.747e-05/0.2182, allocations: 0 / 444.1 MB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003421/0.2186, allocations: 67.39 kB / 444.2 MB, free: 10.62 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.223e-06/0.2186, allocations: 0 / 444.2 MB, free: 10.62 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007046/0.2193, allocations: 173.2 kB / 444.3 MB, free: 10.44 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.658e-05/0.2194, allocations: 89.11 kB / 444.4 MB, free: 10.34 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001827/0.2196, allocations: 149.8 kB / 444.6 MB, free: 10.18 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.944e-05/0.2196, allocations: 25.7 kB / 444.6 MB, free: 10.15 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.456e-05/0.2197, allocations: 96.12 kB / 444.7 MB, free: 10.05 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.705e-05/0.2198, allocations: 39.56 kB / 444.7 MB, free: 10.01 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.91e-05/0.2198, allocations: 29.64 kB / 444.8 MB, free: 9.977 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001934/0.22, allocations: 322.8 kB / 445.1 MB, free: 9.652 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.65e-05/0.2201, allocations: 20 kB / 445.1 MB, free: 9.633 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.307e-05/0.2202, allocations: 46.56 kB / 445.1 MB, free: 9.578 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001512/0.2204, allocations: 65.73 kB / 445.2 MB, free: 9.508 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.2204, allocations: 0 / 445.2 MB, free: 9.508 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002482/0.2206, allocations: 109.5 kB / 445.3 MB, free: 9.395 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/0.2207, allocations: 8 kB / 445.3 MB, free: 9.387 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.2207, allocations: 0 / 445.3 MB, free: 9.387 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.2207, allocations: 4.062 kB / 445.3 MB, free: 9.383 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/0.2208, allocations: 19.98 kB / 445.3 MB, free: 9.363 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.607e-06/0.2208, allocations: 0 / 445.3 MB, free: 9.363 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.397e-05/0.2209, allocations: 7.938 kB / 445.3 MB, free: 9.355 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.003e-05/0.2209, allocations: 4 kB / 445.3 MB, free: 9.352 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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001282/0.2211, allocations: 125.8 kB / 445.5 MB, free: 9.219 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.159e-05/0.2211, allocations: 11.89 kB / 445.5 MB, free: 9.207 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002831/0.2214, allocations: 110.3 kB / 445.6 MB, free: 9.094 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.181e-06/0.2214, allocations: 11.98 kB / 445.6 MB, free: 9.082 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.2214, allocations: 0 / 445.6 MB, free: 9.082 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.2214, allocations: 3.938 kB / 445.6 MB, free: 9.078 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004751/0.2219, allocations: 399.2 kB / 446 MB, free: 8.629 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.2219, allocations: 0 / 446 MB, free: 8.629 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.953e-05/0.222, allocations: 11.94 kB / 446 MB, free: 8.617 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/0.222, allocations: 3.984 kB / 446 MB, free: 8.613 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.031e-05/0.222, allocations: 15.94 kB / 446 MB, free: 8.598 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.222, allocations: 4.031 kB / 446 MB, free: 8.594 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.222, allocations: 0 / 446 MB, free: 8.594 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002677/0.2223, allocations: 212.3 kB / 446.2 MB, free: 8.367 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.057e-05/0.2224, allocations: 88.95 kB / 446.3 MB, free: 8.262 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.986e-05/0.2224, allocations: 3.938 kB / 446.3 MB, free: 8.258 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.467e-05/0.2225, allocations: 8 kB / 446.3 MB, free: 8.25 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.681e-05/0.2226, allocations: 11.98 kB / 446.3 MB, free: 8.238 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.241e-05/0.2226, allocations: 4 kB / 446.3 MB, free: 8.234 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001104/0.2227, allocations: 118.5 kB / 446.5 MB, free: 8.121 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2227, allocations: 0 / 446.5 MB, free: 8.121 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003099/0.223, allocations: 31.98 kB / 446.5 MB, free: 8.09 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 (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.001435/0.2245, allocations: 0.4981 MB / 447 MB, free: 7.621 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002473/0.2247, allocations: 67.84 kB / 447.1 MB, free: 7.555 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.2247, allocations: 0 / 447.1 MB, free: 7.555 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.036e-05/0.2248, allocations: 35.98 kB / 447.1 MB, free: 7.52 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003748/0.2252, allocations: 27.98 kB / 447.1 MB, free: 7.492 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005344/0.2258, allocations: 217 kB / 447.3 MB, free: 7.25 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003303/0.2261, allocations: 0.6965 MB / 448 MB, free: 6.527 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.972e-05/0.2262, allocations: 21.02 kB / 448.1 MB, free: 6.508 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.389e-05/0.2263, allocations: 15.44 kB / 448.1 MB, free: 6.496 MB / 382.1 MB Notification: Performance of SimCode: time 2.144e-06/0.2263, allocations: 0 / 448.1 MB, free: 6.496 MB / 382.1 MB Notification: Performance of Templates: time 0.006356/0.2326, allocations: 1.998 MB / 450.1 MB, free: 4.5 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test66_usertab/Test66_usertab.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches