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.001279/0.001279, allocations: 95.31 kB / 20.43 MB, free: 4.145 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.001283/0.001283, allocations: 165.3 kB / 23.8 MB, free: 0.7773 MB / 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.054/1.054, allocations: 158.6 MB / 185.7 MB, free: 2.93 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.2023/0.2023, allocations: 32.37 MB / 270.4 MB, free: 14.71 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 1.933e-06/1.933e-06, allocations: 0 / 347.7 MB, free: 9.371 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.873e-05/3.067e-05, allocations: 6.25 kB / 347.8 MB, free: 9.363 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.002948/0.002978, allocations: 1.701 MB / 349.5 MB, free: 7.652 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001207/0.004185, allocations: 0.7687 MB / 350.2 MB, free: 6.875 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.951e-05/0.004254, allocations: 4 kB / 350.2 MB, free: 6.871 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002982/0.004552, allocations: 63.61 kB / 350.3 MB, free: 6.809 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002512/0.004804, allocations: 59.73 kB / 350.3 MB, free: 6.75 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002363/0.00504, allocations: 79.72 kB / 350.4 MB, free: 6.672 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001649/0.005205, allocations: 103.7 kB / 350.5 MB, free: 6.57 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.032e-05/0.005245, allocations: 0 / 350.5 MB, free: 6.57 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001008/0.005346, allocations: 59.77 kB / 350.6 MB, free: 6.512 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.878e-05/0.005445, allocations: 39.89 kB / 350.6 MB, free: 6.473 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.868e-05/0.005463, allocations: 4 kB / 350.6 MB, free: 6.469 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.645e-05/0.00554, allocations: 27.94 kB / 350.7 MB, free: 6.441 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.776e-05/0.005598, allocations: 19.91 kB / 350.7 MB, free: 6.422 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.33e-05/0.005641, allocations: 19.92 kB / 350.7 MB, free: 6.402 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001981/0.005839, allocations: 75.69 kB / 350.8 MB, free: 6.328 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.005846, allocations: 4 kB / 350.8 MB, free: 6.324 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.005847, allocations: 4 kB / 350.8 MB, free: 6.32 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.005852, allocations: 3.938 kB / 350.8 MB, free: 6.316 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.0004192/0.006271, allocations: 420.1 kB / 351.2 MB, free: 5.871 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.006314, allocations: 16.02 kB / 351.2 MB, free: 5.855 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.959e-05/0.006364, allocations: 12.84 kB / 351.2 MB, free: 5.844 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001795/0.006543, allocations: 144.3 kB / 351.4 MB, free: 5.676 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.064e-05/0.006564, allocations: 8.359 kB / 351.4 MB, free: 5.668 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.124e-05/0.006575, allocations: 384 / 351.4 MB, free: 5.668 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001388/0.006714, allocations: 54.95 kB / 351.4 MB, free: 5.605 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.006723, allocations: 3.938 kB / 351.4 MB, free: 5.602 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.006734, allocations: 7.984 kB / 351.4 MB, free: 5.594 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.006742, allocations: 7.938 kB / 351.4 MB, free: 5.586 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.814e-05/0.00678, allocations: 7.938 kB / 351.5 MB, free: 5.578 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001315/0.006911, allocations: 132.7 kB / 351.6 MB, free: 5.414 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001137/0.007025, allocations: 51.11 kB / 351.6 MB, free: 5.352 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.183e-05/0.007057, allocations: 15.67 kB / 351.6 MB, free: 5.332 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.276e-05/0.00707, allocations: 4 kB / 351.6 MB, free: 5.328 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001116/0.007181, allocations: 64.98 kB / 351.7 MB, free: 5.25 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 2.174e-06/0.007183, allocations: 8 kB / 351.7 MB, free: 5.242 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002104/0.007394, allocations: 77.58 kB / 351.8 MB, free: 5.16 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.774e-05/0.007421, allocations: 51.41 kB / 351.8 MB, free: 5.098 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000133/0.007555, allocations: 223 kB / 352.1 MB, free: 4.863 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.297e-06/0.007564, allocations: 25.7 kB / 352.1 MB, free: 4.832 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.896e-05/0.007603, allocations: 146.9 kB / 352.2 MB, free: 4.684 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.528e-05/0.007638, allocations: 19.83 kB / 352.3 MB, free: 4.664 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.556e-05/0.007674, allocations: 23.38 kB / 352.3 MB, free: 4.633 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.733e-05/0.007741, allocations: 0.4923 MB / 352.8 MB, free: 4.129 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.549e-05/0.007766, allocations: 8 kB / 352.8 MB, free: 4.121 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.665e-05/0.007803, allocations: 35.3 kB / 352.8 MB, free: 4.078 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.716e-05/0.00786, allocations: 39.62 kB / 352.8 MB, free: 4.031 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.007863, allocations: 0 / 352.8 MB, free: 4.031 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001039/0.007967, allocations: 77.58 kB / 352.9 MB, free: 3.949 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.007981, allocations: 4 kB / 352.9 MB, free: 3.945 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.007988, allocations: 3.938 kB / 352.9 MB, free: 3.941 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.008002, allocations: 0 / 352.9 MB, free: 3.941 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.765e-05/0.00808, allocations: 15.98 kB / 352.9 MB, free: 3.926 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.008086, allocations: 0 / 352.9 MB, free: 3.926 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.695e-05/0.008123, allocations: 3.953 kB / 353 MB, free: 3.922 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.495e-06/0.00813, allocations: 8.031 kB / 353 MB, free: 3.914 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.515e-05/0.008195, allocations: 160.6 kB / 353.1 MB, free: 3.746 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.071e-05/0.008216, allocations: 11.94 kB / 353.1 MB, free: 3.734 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001547/0.008371, allocations: 86.02 kB / 353.2 MB, free: 3.645 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.008374, allocations: 4 kB / 353.2 MB, free: 3.641 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.008381, allocations: 3.984 kB / 353.2 MB, free: 3.637 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-06/0.008386, allocations: 0 / 353.2 MB, free: 3.637 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001058/0.008492, allocations: 132.6 kB / 353.3 MB, free: 3.473 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.008495, allocations: 7.984 kB / 353.4 MB, free: 3.465 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.91e-05/0.008524, allocations: 7.938 kB / 353.4 MB, free: 3.457 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.008527, allocations: 4 kB / 353.4 MB, free: 3.453 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.008536, allocations: 4 kB / 353.4 MB, free: 3.449 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.008539, allocations: 3.938 kB / 353.4 MB, free: 3.445 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.00854, allocations: 0 / 353.4 MB, free: 3.445 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001338/0.008674, allocations: 120.3 kB / 353.5 MB, free: 3.305 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.597e-05/0.00869, allocations: 7.953 kB / 353.5 MB, free: 3.297 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.03e-05/0.00871, allocations: 4 kB / 353.5 MB, free: 3.293 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.341e-05/0.008744, allocations: 4.125 kB / 353.5 MB, free: 3.289 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.548e-05/0.008779, allocations: 11.98 kB / 353.5 MB, free: 3.277 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.567e-05/0.008795, allocations: 4 kB / 353.5 MB, free: 3.273 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.261e-05/0.008867, allocations: 159.2 kB / 353.7 MB, free: 3.117 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.008867, allocations: 0 / 353.7 MB, free: 3.117 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002353/0.009103, allocations: 23.94 kB / 353.7 MB, free: 3.094 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.000806/0.009909, allocations: 379.9 kB / 354.1 MB, free: 2.809 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.00014/0.01005, allocations: 39.61 kB / 354.1 MB, free: 2.766 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.01005, allocations: 0 / 354.1 MB, free: 2.766 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.195e-05/0.01008, allocations: 27.67 kB / 354.1 MB, free: 2.734 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002191/0.0103, allocations: 25.22 kB / 354.2 MB, free: 2.711 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003482/0.01065, allocations: 185.4 kB / 354.3 MB, free: 2.504 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.502e-05/0.01068, allocations: 63.34 kB / 354.4 MB, free: 2.422 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.371e-05/0.01071, allocations: 24.45 kB / 354.4 MB, free: 2.398 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.738e-05/0.01074, allocations: 20.5 kB / 354.5 MB, free: 2.375 MB / 282.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01074, allocations: 0 / 354.5 MB, free: 2.375 MB / 282.7 MB Notification: Performance of Templates: time 0.003271/0.01401, allocations: 1.725 MB / 356.2 MB, free: 0.6641 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.3233748096972704]