Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18") translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 113.2 kB / 17.78 MB, free: 5.258 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.001184/0.001184, allocations: 184.2 kB / 18.72 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.322/1.322, allocations: 222.9 MB / 242.4 MB, free: 15.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.203/0.203, allocations: 44.19 MB / 336.7 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001088/0.001088, allocations: 63.91 kB / 470.6 MB, free: 13.06 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3274/0.3285, allocations: 60.82 MB / 0.519 GB, free: 3.883 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.002409/0.331, allocations: 1.708 MB / 0.5207 GB, free: 2.695 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001067/0.3321, allocations: 0.8829 MB / 0.5215 GB, free: 2.086 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.921e-05/0.3321, allocations: 1.438 kB / 0.5215 GB, free: 2.086 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002442/0.3324, allocations: 29.75 kB / 0.5215 GB, free: 2.074 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000177/0.3326, allocations: 58.23 kB / 0.5216 GB, free: 2.039 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002487/0.3328, allocations: 104.8 kB / 0.5217 GB, free: 1.984 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001403/0.333, allocations: 99.59 kB / 0.5218 GB, free: 1.938 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.121e-05/0.3331, allocations: 20.31 kB / 0.5218 GB, free: 1.922 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.729e-05/0.3332, allocations: 37.61 kB / 0.5219 GB, free: 1.906 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.211e-05/0.3332, allocations: 33.34 kB / 0.5219 GB, free: 1.887 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.667e-05/0.3332, allocations: 3.406 kB / 0.5219 GB, free: 1.887 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.602e-05/0.3333, allocations: 43.22 kB / 0.5219 GB, free: 1.875 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.699e-05/0.3334, allocations: 16.72 kB / 0.5219 GB, free: 1.867 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.297e-05/0.3334, allocations: 34 kB / 0.522 GB, free: 1.844 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001782/0.3336, allocations: 106.2 kB / 0.5221 GB, free: 1.801 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.786e-06/0.3336, allocations: 0 / 0.5221 GB, free: 1.801 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.3336, allocations: 0.9062 kB / 0.5221 GB, free: 1.801 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.049e-06/0.3337, allocations: 0 / 0.5221 GB, free: 1.801 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003955/0.3341, allocations: 421.4 kB / 0.5225 GB, free: 1.383 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.222e-05/0.3341, allocations: 8.844 kB / 0.5225 GB, free: 1.383 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.896e-05/0.3341, allocations: 14.05 kB / 0.5225 GB, free: 1.375 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001723/0.3343, allocations: 202.1 kB / 0.5227 GB, free: 1.164 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.3343, allocations: 2.969 kB / 0.5227 GB, free: 1.164 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.809e-05/0.3344, allocations: 9.406 kB / 0.5227 GB, free: 1.156 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001299/0.3345, allocations: 50.38 kB / 0.5228 GB, free: 1.121 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.3345, allocations: 9.062 kB / 0.5228 GB, free: 1.113 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.3345, allocations: 4 kB / 0.5228 GB, free: 1.109 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.3345, allocations: 1.719 kB / 0.5228 GB, free: 1.109 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.307e-05/0.3346, allocations: 17.69 kB / 0.5228 GB, free: 1.105 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002584/0.3349, allocations: 281.6 kB / 0.5231 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001405/0.335, allocations: 56.02 kB / 0.5231 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.637e-05/0.3351, allocations: 24.88 kB / 0.5231 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.794e-05/0.3351, allocations: 4.531 kB / 0.5231 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001145/0.3352, allocations: 66.12 kB / 0.5232 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.382e-06/0.3352, allocations: 0 / 0.5232 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004636/0.3357, allocations: 180 kB / 0.5234 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.71e-05/0.3357, allocations: 58.3 kB / 0.5234 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001252/0.3359, allocations: 174 kB / 0.5236 GB, free: 436 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.267e-06/0.3359, allocations: 26.92 kB / 0.5236 GB, free: 404 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.336e-05/0.3359, allocations: 99.31 kB / 0.5237 GB, free: 308 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.327e-05/0.336, allocations: 26.41 kB / 0.5237 GB, free: 288 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.336e-05/0.336, allocations: 21.91 kB / 0.5238 GB, free: 268 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.131e-05/0.3361, allocations: 324.6 kB / 0.5241 GB, free: 15.94 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.452e-05/0.3361, allocations: 23.16 kB / 0.5241 GB, free: 15.93 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.551e-05/0.3362, allocations: 50.67 kB / 0.5241 GB, free: 15.89 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000105/0.3363, allocations: 58.55 kB / 0.5242 GB, free: 15.86 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.3363, allocations: 0 / 0.5242 GB, free: 15.86 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001746/0.3365, allocations: 96.16 kB / 0.5243 GB, free: 15.8 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.3365, allocations: 5.656 kB / 0.5243 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.3365, allocations: 0.9375 kB / 0.5243 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.3366, allocations: 1.062 kB / 0.5243 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.01e-05/0.3366, allocations: 18.94 kB / 0.5243 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.3367, allocations: 1.891 kB / 0.5243 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.419e-05/0.3367, allocations: 11.02 kB / 0.5243 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-06/0.3367, allocations: 3.406 kB / 0.5243 GB, free: 15.79 MB / 398.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 (10): * Single equations (assignments): 10 * 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 8.245e-05/0.3368, allocations: 119.6 kB / 0.5244 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.227e-05/0.3368, allocations: 16.59 kB / 0.5245 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.586e-05/0.3369, allocations: 15.27 kB / 0.5245 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.3369, allocations: 1.125 kB / 0.5245 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.3369, allocations: 1.766 kB / 0.5245 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.3369, allocations: 8.547 kB / 0.5245 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003986/0.3373, allocations: 392.3 kB / 0.5249 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.3373, allocations: 1.375 kB / 0.5249 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.737e-05/0.3374, allocations: 8.094 kB / 0.5249 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.3374, allocations: 1.875 kB / 0.5249 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.3374, allocations: 6.281 kB / 0.5249 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.3374, allocations: 1.375 kB / 0.5249 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3374, allocations: 0 / 0.5249 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002081/0.3376, allocations: 213.6 kB / 0.5251 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.719e-05/0.3377, allocations: 88.34 kB / 0.5252 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.554e-05/0.3377, allocations: 14.81 kB / 0.5252 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.66e-05/0.3378, allocations: 6.797 kB / 0.5252 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.861e-05/0.3378, allocations: 5.953 kB / 0.5252 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.304e-05/0.3378, allocations: 3.969 kB / 0.5252 GB, free: 15 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001002/0.3379, allocations: 138.9 kB / 0.5253 GB, free: 14.91 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3379, allocations: 0 / 0.5253 GB, free: 14.91 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002456/0.3382, allocations: 21.42 kB / 0.5253 GB, free: 14.9 MB / 398.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 (8): * Single equations (assignments): 6 * 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.0009545/0.3391, allocations: 472.6 kB / 0.5258 GB, free: 14.68 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000165/0.3393, allocations: 60.73 kB / 0.5259 GB, free: 14.66 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.3393, allocations: 0 / 0.5259 GB, free: 14.66 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.576e-05/0.3394, allocations: 25.52 kB / 0.5259 GB, free: 14.66 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003118/0.3397, allocations: 28.98 kB / 0.5259 GB, free: 14.65 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003795/0.3401, allocations: 215.7 kB / 0.5261 GB, free: 14.48 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002638/0.3404, allocations: 0.7001 MB / 0.5268 GB, free: 13.79 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.283e-05/0.3404, allocations: 16.14 kB / 0.5268 GB, free: 13.78 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.447e-05/0.3405, allocations: 17.31 kB / 0.5268 GB, free: 13.77 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3405, allocations: 0 / 0.5268 GB, free: 13.77 MB / 398.1 MB Notification: Performance of Templates: time 0.004173/0.3447, allocations: 1.709 MB / 0.5285 GB, free: 13.18 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches