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.0009152/0.0009149, allocations: 96.94 kB / 16.02 MB, free: 84 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.001071/0.001071, allocations: 184.8 kB / 16.92 MB, free: 6.891 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.03/2.03, allocations: 205.4 MB / 223.1 MB, free: 5.742 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.5289/0.5289, allocations: 43.58 MB / 315 MB, free: 8.641 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.0008976/0.0008981, allocations: 12 kB / 384.6 MB, free: 7.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2333/0.2342, allocations: 58.86 MB / 443.4 MB, free: 12.7 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.004273/0.2385, allocations: 1.433 MB / 444.9 MB, free: 11.25 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002439/0.241, allocations: 0.7886 MB / 445.7 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001252/0.2412, allocations: 0 / 445.7 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004209/0.2416, allocations: 35.84 kB / 445.7 MB, free: 10.42 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003294/0.242, allocations: 43.83 kB / 445.7 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004539/0.2425, allocations: 79.84 kB / 445.8 MB, free: 10.3 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002776/0.2428, allocations: 91.7 kB / 445.9 MB, free: 10.21 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001494/0.2429, allocations: 24.19 kB / 445.9 MB, free: 10.19 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001762/0.2431, allocations: 39.78 kB / 446 MB, free: 10.15 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001359/0.2433, allocations: 39.72 kB / 446 MB, free: 10.11 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.631e-05/0.2433, allocations: 0 / 446 MB, free: 10.11 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002735/0.2436, allocations: 59.97 kB / 446.1 MB, free: 10.05 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.8e-05/0.2437, allocations: 11.98 kB / 446.1 MB, free: 10.04 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001114/0.2438, allocations: 53.5 kB / 446.1 MB, free: 9.98 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003975/0.2442, allocations: 127.9 kB / 446.3 MB, free: 9.855 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.266e-06/0.2442, allocations: 4 kB / 446.3 MB, free: 9.852 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.196e-06/0.2443, allocations: 3.938 kB / 446.3 MB, free: 9.848 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.2443, allocations: 4 kB / 446.3 MB, free: 9.844 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.0009326/0.2452, allocations: 387.2 kB / 446.7 MB, free: 9.418 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.36e-05/0.2453, allocations: 12.03 kB / 446.7 MB, free: 9.406 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.834e-05/0.2454, allocations: 16.77 kB / 446.7 MB, free: 9.391 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004667/0.2459, allocations: 204.1 kB / 446.9 MB, free: 9.152 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.234e-05/0.2459, allocations: 4.359 kB / 446.9 MB, free: 9.148 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.047e-05/0.246, allocations: 12.12 kB / 446.9 MB, free: 9.137 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002891/0.2463, allocations: 75.33 kB / 447 MB, free: 9.051 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.989e-05/0.2463, allocations: 0 / 447 MB, free: 9.051 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.488e-05/0.2463, allocations: 4 kB / 447 MB, free: 9.047 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.114e-06/0.2464, allocations: 0 / 447 MB, free: 9.047 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001404/0.2465, allocations: 23.97 kB / 447 MB, free: 9.023 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007204/0.2473, allocations: 292.8 kB / 447.3 MB, free: 8.688 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002775/0.2476, allocations: 62.48 kB / 447.3 MB, free: 8.617 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001087/0.2477, allocations: 20.98 kB / 447.4 MB, free: 8.594 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.41e-05/0.2477, allocations: 4 kB / 447.4 MB, free: 8.59 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003215/0.2481, allocations: 67.38 kB / 447.4 MB, free: 8.512 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 2.675e-06/0.2481, allocations: 4 kB / 447.4 MB, free: 8.508 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0009023/0.249, allocations: 181.5 kB / 447.6 MB, free: 8.324 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001042/0.2491, allocations: 77.11 kB / 447.7 MB, free: 8.23 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002444/0.2494, allocations: 153.7 kB / 447.8 MB, free: 8.07 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.598e-05/0.2495, allocations: 29.69 kB / 447.9 MB, free: 8.035 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.619e-05/0.2496, allocations: 92.14 kB / 448 MB, free: 7.941 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.758e-05/0.2497, allocations: 27.64 kB / 448 MB, free: 7.914 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.698e-05/0.2497, allocations: 17.72 kB / 448 MB, free: 7.891 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.00019/0.2499, allocations: 330.8 kB / 448.3 MB, free: 7.559 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.452e-05/0.25, allocations: 31.86 kB / 448.4 MB, free: 7.527 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001086/0.2501, allocations: 42.56 kB / 448.4 MB, free: 7.477 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001981/0.2504, allocations: 57.7 kB / 448.5 MB, free: 7.414 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.2504, allocations: 4 kB / 448.5 MB, free: 7.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003718/0.2508, allocations: 109.6 kB / 448.6 MB, free: 7.297 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.441e-05/0.2508, allocations: 11.94 kB / 448.6 MB, free: 7.285 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.2508, allocations: 240 / 448.6 MB, free: 7.285 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.179e-05/0.2508, allocations: 0 / 448.6 MB, free: 7.285 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001554/0.251, allocations: 19.98 kB / 448.6 MB, free: 7.266 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.252e-05/0.251, allocations: 3.984 kB / 448.6 MB, free: 7.262 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.303e-05/0.2511, allocations: 7.938 kB / 448.6 MB, free: 7.254 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.098e-05/0.2512, allocations: 8 kB / 448.6 MB, free: 7.246 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.0001702/0.2514, allocations: 121.8 kB / 448.7 MB, free: 7.117 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.102e-05/0.2514, allocations: 19.81 kB / 448.8 MB, free: 7.098 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000383/0.2518, allocations: 114.3 kB / 448.9 MB, free: 6.984 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.2518, allocations: 0 / 448.9 MB, free: 6.984 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.2519, allocations: 0 / 448.9 MB, free: 6.984 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.044e-05/0.2519, allocations: 3.938 kB / 448.9 MB, free: 6.98 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007848/0.2527, allocations: 395.3 kB / 449.3 MB, free: 6.535 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.956e-06/0.2527, allocations: 3.984 kB / 449.3 MB, free: 6.531 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.754e-05/0.2528, allocations: 19.97 kB / 449.3 MB, free: 6.512 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/0.2528, allocations: 0 / 449.3 MB, free: 6.512 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.734e-05/0.2528, allocations: 11.92 kB / 449.3 MB, free: 6.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.651e-06/0.2529, allocations: 4 kB / 449.3 MB, free: 6.496 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.2529, allocations: 0 / 449.3 MB, free: 6.496 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004169/0.2533, allocations: 200.2 kB / 449.5 MB, free: 6.281 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.801e-05/0.2534, allocations: 89 kB / 449.6 MB, free: 6.176 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.814e-05/0.2535, allocations: 15.94 kB / 449.6 MB, free: 6.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000126/0.2536, allocations: 0 / 449.6 MB, free: 6.16 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.257e-05/0.2537, allocations: 7.984 kB / 449.6 MB, free: 6.152 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.92e-05/0.2537, allocations: 4.281 kB / 449.6 MB, free: 6.148 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001816/0.2539, allocations: 122.5 kB / 449.7 MB, free: 6.031 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.2539, allocations: 7.938 kB / 449.7 MB, free: 6.023 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004987/0.2545, allocations: 31.94 kB / 449.8 MB, free: 5.992 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.002171/0.2566, allocations: 0.5047 MB / 450.3 MB, free: 5.512 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002826/0.2569, allocations: 71.84 kB / 450.3 MB, free: 5.441 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.257, allocations: 0 / 450.3 MB, free: 5.441 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001147/0.2571, allocations: 39.91 kB / 450.4 MB, free: 5.402 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005131/0.2576, allocations: 19.98 kB / 450.4 MB, free: 5.383 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006452/0.2583, allocations: 226.3 kB / 450.6 MB, free: 5.137 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000422/0.2587, allocations: 0.6965 MB / 451.3 MB, free: 4.414 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001121/0.2588, allocations: 16.88 kB / 451.3 MB, free: 4.391 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.025e-05/0.2589, allocations: 23.42 kB / 451.4 MB, free: 4.367 MB / 382.1 MB Notification: Performance of SimCode: time 5.81e-07/0.2589, allocations: 0 / 451.4 MB, free: 4.367 MB / 382.1 MB Notification: Performance of Templates: time 0.00829/0.2672, allocations: 1.959 MB / 453.3 MB, free: 2.41 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