Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.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.001476/0.001476, 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.00174/0.00174, allocations: 173 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.35/1.35, allocations: 158.6 MB / 186 MB, free: 2.91 MB / 170.7 MB " [Timeout remaining time 178] 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.1889/0.1889, allocations: 32.38 MB / 270.7 MB, free: 14.77 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.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.216e-06/3.216e-06, allocations: 0 / 347.7 MB, free: 9.711 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.868e-05/4.19e-05, allocations: 10.25 kB / 347.7 MB, free: 9.699 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.003007/0.003049, allocations: 1.745 MB / 349.5 MB, free: 7.945 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001166/0.004215, allocations: 0.7882 MB / 350.3 MB, free: 7.148 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.86e-05/0.004313, allocations: 3.938 kB / 350.3 MB, free: 7.145 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000417/0.00473, allocations: 59.75 kB / 350.3 MB, free: 7.086 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000271/0.005001, allocations: 55.75 kB / 350.4 MB, free: 7.031 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002678/0.005269, allocations: 87.64 kB / 350.5 MB, free: 6.945 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002089/0.005478, allocations: 95.69 kB / 350.6 MB, free: 6.852 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001447/0.005623, allocations: 4.234 kB / 350.6 MB, free: 6.848 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001036/0.005726, allocations: 59.77 kB / 350.6 MB, free: 6.789 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.826e-05/0.005825, allocations: 23.91 kB / 350.7 MB, free: 6.766 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.746e-05/0.005852, allocations: 4 kB / 350.7 MB, free: 6.762 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001102/0.005962, allocations: 51.91 kB / 350.7 MB, free: 6.711 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.295e-05/0.006055, allocations: 31.86 kB / 350.7 MB, free: 6.68 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.648e-05/0.006122, allocations: 15.94 kB / 350.8 MB, free: 6.664 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002649/0.006387, allocations: 115.5 kB / 350.9 MB, free: 6.551 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.87e-06/0.006392, allocations: 0 / 350.9 MB, free: 6.551 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.725e-06/0.006394, allocations: 0 / 350.9 MB, free: 6.551 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.347e-06/0.006404, allocations: 0 / 350.9 MB, free: 6.551 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000631/0.007035, allocations: 475.6 kB / 351.3 MB, free: 6.051 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.34e-05/0.007098, allocations: 12.03 kB / 351.3 MB, free: 6.039 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.246e-05/0.00717, allocations: 16.84 kB / 351.4 MB, free: 6.023 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002503/0.007421, allocations: 156.4 kB / 351.5 MB, free: 5.844 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.985e-05/0.007451, allocations: 384 / 351.5 MB, free: 5.844 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.113e-05/0.007482, allocations: 4.375 kB / 351.5 MB, free: 5.84 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000182/0.007664, allocations: 62.94 kB / 351.6 MB, free: 5.77 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.007676, allocations: 3.938 kB / 351.6 MB, free: 5.766 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.007688, allocations: 0 / 351.6 MB, free: 5.766 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-06/0.007698, allocations: 0 / 351.6 MB, free: 5.766 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.094e-05/0.007748, allocations: 19.92 kB / 351.6 MB, free: 5.746 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003866/0.008135, allocations: 299.8 kB / 351.9 MB, free: 5.418 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001376/0.008273, allocations: 51.16 kB / 352 MB, free: 5.355 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.336e-05/0.008306, allocations: 23.62 kB / 352 MB, free: 5.328 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.836e-05/0.008324, allocations: 4 kB / 352 MB, free: 5.324 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001295/0.008454, allocations: 68.98 kB / 352 MB, free: 5.242 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 2.505e-06/0.008457, allocations: 7.984 kB / 352.1 MB, free: 5.234 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004824/0.008939, allocations: 161.3 kB / 352.2 MB, free: 5.07 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.029e-05/0.008969, allocations: 51.41 kB / 352.3 MB, free: 5.008 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001299/0.009099, allocations: 273.3 kB / 352.5 MB, free: 4.723 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.225e-05/0.009111, allocations: 33.62 kB / 352.6 MB, free: 4.684 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.067e-05/0.009162, allocations: 158.9 kB / 352.7 MB, free: 4.523 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.467e-05/0.009197, allocations: 31.78 kB / 352.7 MB, free: 4.492 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.08e-05/0.009248, allocations: 27.38 kB / 352.8 MB, free: 4.457 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.136e-05/0.009319, allocations: 0.504 MB / 353.3 MB, free: 3.941 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.307e-05/0.009352, allocations: 12.38 kB / 353.3 MB, free: 3.93 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.989e-05/0.009392, allocations: 31.36 kB / 353.3 MB, free: 3.891 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.692e-05/0.009469, allocations: 59.23 kB / 353.4 MB, free: 3.824 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.009471, allocations: 4 kB / 353.4 MB, free: 3.82 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001335/0.009604, allocations: 93.52 kB / 353.5 MB, free: 3.723 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.009623, allocations: 8 kB / 353.5 MB, free: 3.715 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.00963, allocations: 4.031 kB / 353.5 MB, free: 3.711 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.009647, allocations: 0 / 353.5 MB, free: 3.711 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.009748, allocations: 15.98 kB / 353.5 MB, free: 3.695 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.009756, allocations: 4 kB / 353.5 MB, free: 3.691 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.546e-05/0.009791, allocations: 0 / 353.5 MB, free: 3.691 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.228e-06/0.009801, allocations: 8 kB / 353.5 MB, free: 3.684 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 (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 7.03e-05/0.009871, allocations: 160.5 kB / 353.7 MB, free: 3.516 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.791e-05/0.009889, allocations: 19.91 kB / 353.7 MB, free: 3.496 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001798/0.01007, allocations: 111.2 kB / 353.8 MB, free: 3.379 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.01007, allocations: 4 kB / 353.8 MB, free: 3.375 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.01008, allocations: 0 / 353.8 MB, free: 3.375 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.01008, allocations: 0 / 353.8 MB, free: 3.375 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003043/0.01039, allocations: 405 kB / 354.2 MB, free: 2.934 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.01039, allocations: 0 / 354.2 MB, free: 2.934 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.447e-05/0.01042, allocations: 15.94 kB / 354.2 MB, free: 2.918 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.01043, allocations: 0 / 354.2 MB, free: 2.918 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/0.01044, allocations: 7.984 kB / 354.2 MB, free: 2.91 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.01044, allocations: 0 / 354.2 MB, free: 2.91 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.01045, allocations: 0 / 354.2 MB, free: 2.91 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001396/0.01059, allocations: 267.4 kB / 354.5 MB, free: 2.625 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.757e-05/0.0106, allocations: 11.95 kB / 354.5 MB, free: 2.613 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.212e-05/0.01062, allocations: 4 kB / 354.5 MB, free: 2.609 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.952e-05/0.01067, allocations: 0 / 354.5 MB, free: 2.609 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.321e-05/0.01072, allocations: 7.984 kB / 354.5 MB, free: 2.602 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.685e-05/0.01073, allocations: 4 kB / 354.5 MB, free: 2.598 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.479e-05/0.01081, allocations: 200.3 kB / 354.7 MB, free: 2.402 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01081, allocations: 0 / 354.7 MB, free: 2.402 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001997/0.01101, allocations: 31.88 kB / 354.7 MB, free: 2.371 MB / 282.7 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.001082/0.01209, allocations: 439.7 kB / 355.2 MB, free: 2.035 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000161/0.01225, allocations: 51.55 kB / 355.2 MB, free: 1.98 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.01225, allocations: 0 / 355.2 MB, free: 1.98 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.651e-05/0.0123, allocations: 39.61 kB / 355.3 MB, free: 1.938 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003024/0.0126, allocations: 31.83 kB / 355.3 MB, free: 1.906 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004861/0.01309, allocations: 258 kB / 355.5 MB, free: 1.625 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.026e-05/0.01313, allocations: 71.33 kB / 355.6 MB, free: 1.535 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.629e-05/0.01317, allocations: 16.61 kB / 355.6 MB, free: 1.52 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.776e-05/0.0132, allocations: 20.48 kB / 355.6 MB, free: 1.496 MB / 282.7 MB Notification: Performance of SimCode: time 1.213e-06/0.0132, allocations: 0 / 355.6 MB, free: 1.496 MB / 282.7 MB Notification: Performance of Templates: time 0.004369/0.01757, allocations: 1.853 MB / 357.5 MB, free: 15.66 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.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.959468986140564]