Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008129/0.0008129, allocations: 88.2 kB / 20.94 MB, free: 3.605 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009211/0.0009211, allocations: 169 kB / 24.25 MB, free: 308 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.041/1.041, allocations: 158.6 MB / 186 MB, free: 2.492 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.17/0.17, allocations: 32.37 MB / 270.7 MB, free: 14.75 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85") translateModel(ModelicaTest.Tables.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.454e-06/2.454e-06, allocations: 0 / 347.7 MB, free: 9.695 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.859e-05/3.105e-05, allocations: 4.281 kB / 347.7 MB, free: 9.691 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.00249/0.002521, allocations: 1.695 MB / 349.4 MB, free: 7.984 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001101/0.003623, allocations: 0.7726 MB / 350.2 MB, free: 7.203 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001035/0.003726, allocations: 3.938 kB / 350.2 MB, free: 7.199 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004571/0.004183, allocations: 59.69 kB / 350.3 MB, free: 7.141 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003188/0.004502, allocations: 59.73 kB / 350.3 MB, free: 7.082 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002131/0.004715, allocations: 75.72 kB / 350.4 MB, free: 7.008 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001869/0.004902, allocations: 107.6 kB / 350.5 MB, free: 6.902 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.052e-05/0.004953, allocations: 4 kB / 350.5 MB, free: 6.898 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.92e-05/0.005042, allocations: 55.83 kB / 350.6 MB, free: 6.844 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.51e-05/0.005137, allocations: 35.89 kB / 350.6 MB, free: 6.809 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.955e-05/0.005156, allocations: 4 kB / 350.6 MB, free: 6.805 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001067/0.005263, allocations: 31.92 kB / 350.6 MB, free: 6.773 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.173e-05/0.005335, allocations: 19.92 kB / 350.7 MB, free: 6.754 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.271e-05/0.005387, allocations: 15.92 kB / 350.7 MB, free: 6.738 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001815/0.005569, allocations: 83.62 kB / 350.8 MB, free: 6.656 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.005571, allocations: 0 / 350.8 MB, free: 6.656 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.005572, allocations: 0 / 350.8 MB, free: 6.656 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.005578, allocations: 4 kB / 350.8 MB, free: 6.652 MB / 282.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.0004587/0.006036, allocations: 432.1 kB / 351.2 MB, free: 6.195 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/0.006081, allocations: 8.031 kB / 351.2 MB, free: 6.188 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.605e-05/0.006137, allocations: 12.84 kB / 351.2 MB, free: 6.176 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001843/0.006322, allocations: 148.3 kB / 351.3 MB, free: 6.004 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.383e-05/0.006345, allocations: 384 / 351.3 MB, free: 6.004 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.353e-05/0.006359, allocations: 4.375 kB / 351.3 MB, free: 6 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001468/0.006506, allocations: 66.81 kB / 351.4 MB, free: 5.926 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.006515, allocations: 3.938 kB / 351.4 MB, free: 5.922 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.006527, allocations: 0 / 351.4 MB, free: 5.922 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/0.006537, allocations: 4 kB / 351.4 MB, free: 5.918 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.358e-05/0.00657, allocations: 8 kB / 351.4 MB, free: 5.91 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001753/0.006746, allocations: 136.7 kB / 351.6 MB, free: 5.742 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001295/0.006875, allocations: 43.11 kB / 351.6 MB, free: 5.688 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.336e-05/0.006909, allocations: 19.67 kB / 351.6 MB, free: 5.664 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.551e-05/0.006924, allocations: 0 / 351.6 MB, free: 5.664 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001104/0.007034, allocations: 68.98 kB / 351.7 MB, free: 5.582 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 1.032e-06/0.007035, allocations: 0 / 351.7 MB, free: 5.582 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002137/0.007249, allocations: 89.56 kB / 351.8 MB, free: 5.488 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.246e-05/0.007282, allocations: 51.41 kB / 351.8 MB, free: 5.426 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001108/0.007392, allocations: 219 kB / 352 MB, free: 5.195 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.998e-06/0.007402, allocations: 25.7 kB / 352.1 MB, free: 5.164 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.972e-05/0.007442, allocations: 146.8 kB / 352.2 MB, free: 5.016 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.771e-05/0.00748, allocations: 23.83 kB / 352.2 MB, free: 4.992 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.043e-05/0.00751, allocations: 23.38 kB / 352.3 MB, free: 4.961 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.894e-05/0.007579, allocations: 0.4923 MB / 352.7 MB, free: 4.457 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.1e-05/0.0076, allocations: 8 kB / 352.8 MB, free: 4.449 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.848e-05/0.007629, allocations: 31.34 kB / 352.8 MB, free: 4.41 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.511e-05/0.007674, allocations: 39.62 kB / 352.8 MB, free: 4.363 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.007676, allocations: 0 / 352.8 MB, free: 4.363 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.632e-05/0.007763, allocations: 77.58 kB / 352.9 MB, free: 4.281 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.007778, allocations: 4 kB / 352.9 MB, free: 4.277 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.007785, allocations: 7.938 kB / 352.9 MB, free: 4.27 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.007802, allocations: 3.984 kB / 352.9 MB, free: 4.266 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.892e-05/0.007891, allocations: 11.98 kB / 352.9 MB, free: 4.254 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.007898, allocations: 0 / 352.9 MB, free: 4.254 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.363e-05/0.007932, allocations: 7.953 kB / 352.9 MB, free: 4.246 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-06/0.007938, allocations: 4.031 kB / 352.9 MB, free: 4.242 MB / 282.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 ($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 (7): * Single equations (assignments): 7 * 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 6.688e-05/0.008005, allocations: 164.5 kB / 353.1 MB, free: 4.07 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.429e-05/0.008019, allocations: 15.94 kB / 353.1 MB, free: 4.055 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001335/0.008152, allocations: 82.08 kB / 353.2 MB, free: 3.969 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.008154, allocations: 0 / 353.2 MB, free: 3.969 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.008158, allocations: 0 / 353.2 MB, free: 3.969 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.008163, allocations: 3.938 kB / 353.2 MB, free: 3.965 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.93e-05/0.008243, allocations: 140.6 kB / 353.3 MB, free: 3.793 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.008244, allocations: 0 / 353.3 MB, free: 3.793 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.894e-05/0.008263, allocations: 4 kB / 353.3 MB, free: 3.789 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.008265, allocations: 0 / 353.3 MB, free: 3.789 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.205e-06/0.008273, allocations: 8 kB / 353.4 MB, free: 3.781 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.008274, allocations: 7.875 kB / 353.4 MB, free: 3.773 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.008275, allocations: 0 / 353.4 MB, free: 3.773 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.86e-05/0.008354, allocations: 112.3 kB / 353.5 MB, free: 3.641 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.229e-05/0.008366, allocations: 11.95 kB / 353.5 MB, free: 3.629 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.636e-05/0.008383, allocations: 0 / 353.5 MB, free: 3.629 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.361e-05/0.008406, allocations: 12.11 kB / 353.5 MB, free: 3.617 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.238e-05/0.008439, allocations: 0 / 353.5 MB, free: 3.617 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.346e-05/0.008452, allocations: 8 kB / 353.5 MB, free: 3.609 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.279e-05/0.008505, allocations: 159.2 kB / 353.7 MB, free: 3.453 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008505, allocations: 4 kB / 353.7 MB, free: 3.449 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001479/0.008653, allocations: 19.94 kB / 353.7 MB, free: 3.43 MB / 282.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 (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.0007894/0.009442, allocations: 389 kB / 354.1 MB, free: 3.145 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001205/0.009563, allocations: 43.61 kB / 354.1 MB, free: 3.098 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.009565, allocations: 4 kB / 354.1 MB, free: 3.094 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.135e-05/0.009596, allocations: 19.69 kB / 354.1 MB, free: 3.07 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002191/0.009815, allocations: 33.16 kB / 354.2 MB, free: 3.039 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003692/0.01018, allocations: 181.4 kB / 354.3 MB, free: 2.836 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.339e-05/0.01022, allocations: 67.33 kB / 354.4 MB, free: 2.75 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.293e-05/0.01025, allocations: 12.48 kB / 354.4 MB, free: 2.738 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.884e-05/0.01028, allocations: 24.55 kB / 354.4 MB, free: 2.711 MB / 282.7 MB Notification: Performance of SimCode: time 1.112e-06/0.01028, allocations: 0 / 354.4 MB, free: 2.711 MB / 282.7 MB Notification: Performance of Templates: time 0.003678/0.01396, allocations: 1.612 MB / 356 MB, free: 1.117 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.313351998105645]