Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.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.001369/0.001369, allocations: 91.22 kB / 20.43 MB, free: 4.141 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.001517/0.001517, allocations: 169 kB / 23.8 MB, free: 0.7734 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 0.9464/0.9464, allocations: 158.6 MB / 185.7 MB, free: 2.5 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.1518/0.1518, allocations: 32.37 MB / 270.4 MB, free: 14.69 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.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22") translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 347.7 MB, free: 9.371 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.402e-05/3.567e-05, allocations: 10.19 kB / 347.7 MB, free: 9.359 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.002624/0.00266, allocations: 1.738 MB / 349.5 MB, free: 7.609 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000964/0.003624, allocations: 0.792 MB / 350.3 MB, free: 6.809 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.353e-05/0.003708, allocations: 0 / 350.3 MB, free: 6.809 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003736/0.004081, allocations: 47.75 kB / 350.3 MB, free: 6.762 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002304/0.004312, allocations: 55.7 kB / 350.4 MB, free: 6.707 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002476/0.004559, allocations: 91.69 kB / 350.5 MB, free: 6.617 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001573/0.004716, allocations: 91.7 kB / 350.6 MB, free: 6.527 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.695e-05/0.004813, allocations: 8.219 kB / 350.6 MB, free: 6.52 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.467e-05/0.004898, allocations: 59.77 kB / 350.6 MB, free: 6.461 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.548e-05/0.004974, allocations: 19.92 kB / 350.6 MB, free: 6.441 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.805e-05/0.004992, allocations: 4 kB / 350.6 MB, free: 6.438 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.668e-05/0.005078, allocations: 47.91 kB / 350.7 MB, free: 6.391 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.189e-05/0.00513, allocations: 19.92 kB / 350.7 MB, free: 6.371 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.878e-05/0.005169, allocations: 19.92 kB / 350.7 MB, free: 6.352 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001805/0.005349, allocations: 103.5 kB / 350.8 MB, free: 6.25 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.005352, allocations: 0 / 350.8 MB, free: 6.25 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.005353, allocations: 4 kB / 350.8 MB, free: 6.246 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.005359, allocations: 0 / 350.8 MB, free: 6.246 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.000455/0.005814, allocations: 435.9 kB / 351.3 MB, free: 5.785 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.00586, allocations: 12.03 kB / 351.3 MB, free: 5.773 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.91e-05/0.005919, allocations: 12.88 kB / 351.3 MB, free: 5.762 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001822/0.006101, allocations: 148.4 kB / 351.4 MB, free: 5.59 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.011e-05/0.006121, allocations: 4.375 kB / 351.4 MB, free: 5.586 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.662e-05/0.006148, allocations: 8.328 kB / 351.4 MB, free: 5.578 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001352/0.006283, allocations: 62.88 kB / 351.5 MB, free: 5.508 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.006294, allocations: 7.938 kB / 351.5 MB, free: 5.5 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.006304, allocations: 4 kB / 351.5 MB, free: 5.496 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.006312, allocations: 0 / 351.5 MB, free: 5.496 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.604e-05/0.006348, allocations: 11.98 kB / 351.5 MB, free: 5.484 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003073/0.006655, allocations: 275.8 kB / 351.8 MB, free: 5.18 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001116/0.006767, allocations: 59.09 kB / 351.9 MB, free: 5.109 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.05e-05/0.006797, allocations: 19.62 kB / 351.9 MB, free: 5.086 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.709e-05/0.006814, allocations: 7.984 kB / 351.9 MB, free: 5.078 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.53e-05/0.00691, allocations: 65.05 kB / 351.9 MB, free: 5 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.006911, allocations: 4 kB / 352 MB, free: 4.996 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004735/0.007384, allocations: 149.3 kB / 352.1 MB, free: 4.844 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.694e-05/0.007421, allocations: 59.39 kB / 352.2 MB, free: 4.773 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001469/0.007568, allocations: 220.1 kB / 352.4 MB, free: 4.543 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.667e-05/0.007585, allocations: 33.64 kB / 352.4 MB, free: 4.504 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.1e-05/0.007636, allocations: 146.9 kB / 352.5 MB, free: 4.355 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.224e-05/0.007678, allocations: 35.73 kB / 352.6 MB, free: 4.32 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.202e-05/0.00773, allocations: 31.36 kB / 352.6 MB, free: 4.281 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.151e-05/0.007802, allocations: 0.4962 MB / 353.1 MB, free: 3.773 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.737e-05/0.007839, allocations: 8 kB / 353.1 MB, free: 3.766 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.109e-05/0.00788, allocations: 43.67 kB / 353.2 MB, free: 3.715 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.741e-05/0.007938, allocations: 47.31 kB / 353.2 MB, free: 3.66 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.007939, allocations: 0 / 353.2 MB, free: 3.66 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001214/0.008061, allocations: 97.56 kB / 353.3 MB, free: 3.559 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.008077, allocations: 8 kB / 353.3 MB, free: 3.551 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.008084, allocations: 0 / 353.3 MB, free: 3.551 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/0.008102, allocations: 0 / 353.3 MB, free: 3.551 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.693e-05/0.008199, allocations: 12 kB / 353.3 MB, free: 3.539 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.008208, allocations: 7.984 kB / 353.3 MB, free: 3.531 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.349e-05/0.008242, allocations: 4.031 kB / 353.3 MB, free: 3.527 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.056e-06/0.00825, allocations: 4 kB / 353.3 MB, free: 3.523 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 6.696e-05/0.008317, allocations: 168.5 kB / 353.5 MB, free: 3.348 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.941e-05/0.008336, allocations: 11.91 kB / 353.5 MB, free: 3.336 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00018/0.008516, allocations: 110.5 kB / 353.6 MB, free: 3.223 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.008519, allocations: 0 / 353.6 MB, free: 3.223 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.008523, allocations: 0 / 353.6 MB, free: 3.223 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.008529, allocations: 0 / 353.6 MB, free: 3.223 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002908/0.008819, allocations: 389 kB / 354 MB, free: 2.797 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.008822, allocations: 0 / 354 MB, free: 2.797 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.344e-05/0.008855, allocations: 24.02 kB / 354 MB, free: 2.773 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.008857, allocations: 0 / 354 MB, free: 2.773 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.008865, allocations: 0 / 354 MB, free: 2.773 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.008868, allocations: 4 kB / 354 MB, free: 2.77 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.008869, allocations: 0 / 354 MB, free: 2.77 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001212/0.00899, allocations: 259.4 kB / 354.3 MB, free: 2.492 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.187e-05/0.009002, allocations: 7.953 kB / 354.3 MB, free: 2.484 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.009021, allocations: 4 kB / 354.3 MB, free: 2.48 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.618e-05/0.009067, allocations: 7.984 kB / 354.3 MB, free: 2.473 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.323e-05/0.0091, allocations: 0 / 354.3 MB, free: 2.473 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-05/0.00912, allocations: 11.98 kB / 354.3 MB, free: 2.461 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.984e-05/0.0092, allocations: 171.9 kB / 354.5 MB, free: 2.293 MB / 282.7 MB Notification: Performance of sort global known variables: time 1e-07/0.0092, allocations: 0 / 354.5 MB, free: 2.293 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001988/0.009398, allocations: 23.94 kB / 354.5 MB, free: 2.27 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.001014/0.01041, allocations: 439.3 kB / 354.9 MB, free: 1.934 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001448/0.01056, allocations: 59.53 kB / 355 MB, free: 1.871 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.01056, allocations: 0 / 355 MB, free: 1.871 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.127e-05/0.0106, allocations: 35.66 kB / 355 MB, free: 1.832 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002804/0.01088, allocations: 39.95 kB / 355.1 MB, free: 1.793 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004202/0.0113, allocations: 217.6 kB / 355.3 MB, free: 1.547 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.94e-05/0.01134, allocations: 67.33 kB / 355.3 MB, free: 1.461 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.002e-05/0.01138, allocations: 16.47 kB / 355.4 MB, free: 1.445 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.63e-05/0.01142, allocations: 20.5 kB / 355.4 MB, free: 1.426 MB / 282.7 MB Notification: Performance of SimCode: time 1.243e-06/0.01142, allocations: 0 / 355.4 MB, free: 1.426 MB / 282.7 MB Notification: Performance of Templates: time 0.003812/0.01523, allocations: 1.845 MB / 357.2 MB, free: 15.6 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.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.371473927050829]