Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.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.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62") translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001123/0.001124, allocations: 179.9 kB / 16.77 MB, free: 5.051 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.706/1.706, allocations: 205.4 MB / 222.9 MB, free: 8.941 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.0008285/0.0008285, allocations: 101.1 kB / 271.3 MB, free: 8.234 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.3463/0.3463, allocations: 43.55 MB / 363.1 MB, free: 52.09 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003244/0.0003244, allocations: 12 kB / 432.6 MB, free: 5.188 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1097, allocations: 58.85 MB / 491.5 MB, free: 10.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2831/0.3928, allocations: 87.6 MB / 0.5655 GB, free: 14.39 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001948/0.393, allocations: 75.97 kB / 0.5656 GB, free: 14.32 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01463/0.4077, allocations: 5.55 MB / 0.571 GB, free: 8.812 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.4077, allocations: 0 / 0.571 GB, free: 8.812 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.134e-05/0.4077, allocations: 0 / 0.571 GB, free: 8.812 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004754/0.4082, allocations: 443.2 kB / 0.5714 GB, free: 8.332 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.4083, allocations: 12.03 kB / 0.5714 GB, free: 8.32 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.391e-05/0.4083, allocations: 12.75 kB / 0.5714 GB, free: 8.309 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002984/0.4086, allocations: 245.2 kB / 0.5717 GB, free: 8.035 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.4087, allocations: 384 / 0.5717 GB, free: 8.035 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.919e-06/0.4087, allocations: 384 / 0.5717 GB, free: 8.035 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001197/0.4088, allocations: 50.23 kB / 0.5717 GB, free: 7.98 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.4088, allocations: 4.188 kB / 0.5717 GB, free: 7.977 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.4088, allocations: 3.938 kB / 0.5717 GB, free: 7.973 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.4088, allocations: 0 / 0.5717 GB, free: 7.973 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.652e-05/0.4089, allocations: 15.98 kB / 0.5718 GB, free: 7.957 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001998/0.4091, allocations: 193.7 kB / 0.5719 GB, free: 7.719 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001461/0.4093, allocations: 58.55 kB / 0.572 GB, free: 7.652 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.674e-05/0.4093, allocations: 24.86 kB / 0.572 GB, free: 7.625 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.31e-05/0.4094, allocations: 3.984 kB / 0.572 GB, free: 7.621 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001721/0.4095, allocations: 67.3 kB / 0.5721 GB, free: 7.543 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.423e-06/0.4096, allocations: 0 / 0.5721 GB, free: 7.543 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002781/0.4098, allocations: 101.5 kB / 0.5722 GB, free: 7.438 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.035e-05/0.4099, allocations: 51.41 kB / 0.5722 GB, free: 7.375 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000251/0.4101, allocations: 255.7 kB / 0.5725 GB, free: 7.113 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.845e-05/0.4102, allocations: 33.7 kB / 0.5725 GB, free: 7.074 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.041e-05/0.4102, allocations: 112.1 kB / 0.5726 GB, free: 6.961 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.895e-05/0.4103, allocations: 11.81 kB / 0.5726 GB, free: 6.949 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.256e-06/0.4103, allocations: 0 / 0.5726 GB, free: 6.949 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.4104, allocations: 330.8 kB / 0.5729 GB, free: 6.617 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.731e-05/0.4104, allocations: 15.98 kB / 0.573 GB, free: 6.602 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.028e-05/0.4105, allocations: 25.7 kB / 0.573 GB, free: 6.57 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.369e-05/0.4106, allocations: 53.64 kB / 0.573 GB, free: 6.512 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.4106, allocations: 0 / 0.573 GB, free: 6.512 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001557/0.4108, allocations: 85.5 kB / 0.5731 GB, free: 6.422 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.4108, allocations: 7.938 kB / 0.5731 GB, free: 6.414 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.4108, allocations: 0 / 0.5731 GB, free: 6.414 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.4108, allocations: 4 kB / 0.5731 GB, free: 6.41 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.445e-05/0.4109, allocations: 15.92 kB / 0.5731 GB, free: 6.395 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.4109, allocations: 4.141 kB / 0.5731 GB, free: 6.391 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.572e-05/0.411, allocations: 8.031 kB / 0.5731 GB, free: 6.383 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.411, allocations: 320 / 0.5731 GB, free: 6.383 MB / 394.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 (7): * Single equations (assignments): 7 * 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 9.569e-05/0.4111, allocations: 133.8 kB / 0.5733 GB, free: 6.242 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.499e-05/0.4111, allocations: 19.75 kB / 0.5733 GB, free: 6.223 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002118/0.4113, allocations: 103.3 kB / 0.5734 GB, free: 6.121 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.4114, allocations: 0 / 0.5734 GB, free: 6.121 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.4114, allocations: 0 / 0.5734 GB, free: 6.121 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.4114, allocations: 3.984 kB / 0.5734 GB, free: 6.117 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001742/0.4116, allocations: 213.5 kB / 0.5736 GB, free: 5.859 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.4116, allocations: 3.984 kB / 0.5736 GB, free: 5.855 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.788e-05/0.4116, allocations: 8 kB / 0.5736 GB, free: 5.848 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.4116, allocations: 7.938 kB / 0.5736 GB, free: 5.84 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-06/0.4116, allocations: 3.938 kB / 0.5736 GB, free: 5.836 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.4116, allocations: 0 / 0.5736 GB, free: 5.836 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.4116, allocations: 0 / 0.5736 GB, free: 5.836 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001956/0.4118, allocations: 116.9 kB / 0.5737 GB, free: 5.703 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.442e-05/0.4119, allocations: 104.9 kB / 0.5738 GB, free: 5.582 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.566e-05/0.412, allocations: 7.938 kB / 0.5738 GB, free: 5.574 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.984e-05/0.412, allocations: 0 / 0.5738 GB, free: 5.574 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.684e-05/0.4121, allocations: 11.92 kB / 0.5739 GB, free: 5.562 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/0.4121, allocations: 0 / 0.5739 GB, free: 5.562 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001808/0.4123, allocations: 199.3 kB / 0.574 GB, free: 5.367 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4123, allocations: 3.938 kB / 0.574 GB, free: 5.363 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002208/0.4125, allocations: 20 kB / 0.5741 GB, free: 5.344 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0008185/0.4133, allocations: 420.5 kB / 0.5745 GB, free: 5.027 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001616/0.4135, allocations: 43.98 kB / 0.5745 GB, free: 4.984 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.4135, allocations: 0 / 0.5745 GB, free: 4.984 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.201e-05/0.4136, allocations: 23.92 kB / 0.5745 GB, free: 4.961 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002738/0.4139, allocations: 29.33 kB / 0.5746 GB, free: 4.934 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004743/0.4143, allocations: 292.4 kB / 0.5748 GB, free: 4.629 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002552/0.4146, allocations: 0.7157 MB / 0.5755 GB, free: 3.891 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.181e-05/0.4147, allocations: 16.44 kB / 0.5756 GB, free: 3.875 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.835e-05/0.4147, allocations: 23.42 kB / 0.5756 GB, free: 3.852 MB / 394.7 MB Notification: Performance of SimCode: time 3.1e-07/0.4147, allocations: 0 / 0.5756 GB, free: 3.852 MB / 394.7 MB Notification: Performance of Templates: time 0.003762/0.4185, allocations: 1.613 MB / 0.5772 GB, free: 2.246 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches