Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.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.001464/0.001464, allocations: 88.23 kB / 20.2 MB, free: 4.227 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.001628/0.001628, allocations: 157.7 kB / 23.51 MB, free: 0.9219 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.511/1.511, allocations: 158.6 MB / 185.3 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.2448/0.2448, allocations: 32.37 MB / 270 MB, free: 14.79 MB / 266.7 MB " [Timeout remaining time 179] 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.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.244e-06/2.244e-06, allocations: 0 / 347 MB, free: 9.742 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.13e-05/3.354e-05, allocations: 2.312 kB / 347 MB, free: 9.738 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.002873/0.002906, allocations: 1.75 MB / 348.8 MB, free: 7.977 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002024/0.00493, allocations: 1.548 MB / 350.3 MB, free: 6.418 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.626e-05/0.005026, allocations: 3.938 kB / 350.3 MB, free: 6.414 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004431/0.005469, allocations: 55.69 kB / 350.4 MB, free: 6.359 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003502/0.005819, allocations: 95.41 kB / 350.5 MB, free: 6.266 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003222/0.006142, allocations: 139.6 kB / 350.6 MB, free: 6.129 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000236/0.006378, allocations: 195.3 kB / 350.8 MB, free: 5.938 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.561e-05/0.006423, allocations: 9.75 kB / 350.8 MB, free: 5.93 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001314/0.006555, allocations: 99.72 kB / 350.9 MB, free: 5.832 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001698/0.006724, allocations: 56.8 kB / 350.9 MB, free: 5.777 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.767e-05/0.006752, allocations: 8 kB / 351 MB, free: 5.77 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001267/0.006879, allocations: 63.91 kB / 351 MB, free: 5.707 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.615e-05/0.006955, allocations: 39.78 kB / 351.1 MB, free: 5.668 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.117e-05/0.007016, allocations: 35.84 kB / 351.1 MB, free: 5.633 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002676/0.007284, allocations: 167.5 kB / 351.3 MB, free: 5.469 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.007289, allocations: 0 / 351.3 MB, free: 5.469 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.886e-06/0.007292, allocations: 8 kB / 351.3 MB, free: 5.461 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.007298, allocations: 0 / 351.3 MB, free: 5.461 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006245/0.007923, allocations: 397.1 kB / 351.6 MB, free: 5.043 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.00796, allocations: 8.031 kB / 351.7 MB, free: 5.035 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.872e-05/0.008039, allocations: 24.84 kB / 351.7 MB, free: 5.012 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003549/0.008394, allocations: 181.2 kB / 351.9 MB, free: 4.809 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.979e-05/0.008414, allocations: 8.375 kB / 351.9 MB, free: 4.801 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.696e-05/0.008431, allocations: 4.375 kB / 351.9 MB, free: 4.797 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002321/0.008663, allocations: 157 kB / 352 MB, free: 4.613 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.008675, allocations: 7.938 kB / 352 MB, free: 4.605 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/0.00869, allocations: 0 / 352 MB, free: 4.605 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.086e-06/0.008698, allocations: 7.984 kB / 352 MB, free: 4.598 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001121/0.00881, allocations: 27.98 kB / 352.1 MB, free: 4.57 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001798/0.00899, allocations: 154.2 kB / 352.2 MB, free: 4.387 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002649/0.009254, allocations: 105.2 kB / 352.3 MB, free: 4.266 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.078e-05/0.009345, allocations: 37.7 kB / 352.4 MB, free: 4.223 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.177e-05/0.009367, allocations: 4 kB / 352.4 MB, free: 4.219 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002007/0.009568, allocations: 117 kB / 352.5 MB, free: 4.086 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 1.152e-06/0.009569, allocations: 0 / 352.5 MB, free: 4.086 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004816/0.01005, allocations: 185.3 kB / 352.7 MB, free: 3.898 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.129e-05/0.01014, allocations: 128.5 kB / 352.8 MB, free: 3.742 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002231/0.01036, allocations: 227.8 kB / 353 MB, free: 3.508 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.209e-05/0.01039, allocations: 25.7 kB / 353 MB, free: 3.477 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.876e-05/0.01046, allocations: 112.1 kB / 353.1 MB, free: 3.363 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.966e-05/0.01052, allocations: 27.83 kB / 353.2 MB, free: 3.336 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.906e-05/0.01057, allocations: 37.7 kB / 353.2 MB, free: 3.293 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001598/0.01073, allocations: 326.8 kB / 353.5 MB, free: 2.965 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.076e-05/0.01082, allocations: 27.98 kB / 353.5 MB, free: 2.938 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001369/0.01096, allocations: 128.5 kB / 353.7 MB, free: 2.781 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002076/0.01117, allocations: 87.91 kB / 353.8 MB, free: 2.684 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.01117, allocations: 3.938 kB / 353.8 MB, free: 2.68 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002769/0.01145, allocations: 157.5 kB / 353.9 MB, free: 2.52 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.01147, allocations: 4 kB / 353.9 MB, free: 2.516 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.01148, allocations: 3.938 kB / 353.9 MB, free: 2.512 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.845e-05/0.01152, allocations: 7.984 kB / 353.9 MB, free: 2.504 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000132/0.01165, allocations: 23.98 kB / 354 MB, free: 2.48 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/0.01166, allocations: 7.938 kB / 354 MB, free: 2.473 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.011e-05/0.01174, allocations: 7.938 kB / 354 MB, free: 2.465 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.207e-05/0.01175, allocations: 4 kB / 354 MB, free: 2.461 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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 0.0001364/0.01189, allocations: 129.8 kB / 354.1 MB, free: 2.324 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.199e-05/0.01193, allocations: 23.97 kB / 354.1 MB, free: 2.301 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003915/0.01232, allocations: 170.6 kB / 354.3 MB, free: 2.125 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.01233, allocations: 4 kB / 354.3 MB, free: 2.121 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.786e-06/0.01234, allocations: 0 / 354.3 MB, free: 2.121 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/0.01234, allocations: 0 / 354.3 MB, free: 2.121 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001891/0.01253, allocations: 145.3 kB / 354.4 MB, free: 1.949 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.01253, allocations: 3.984 kB / 354.4 MB, free: 1.945 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.198e-05/0.01258, allocations: 12 kB / 354.5 MB, free: 1.934 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.01258, allocations: 0 / 354.5 MB, free: 1.934 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/0.01259, allocations: 0 / 354.5 MB, free: 1.934 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.741e-06/0.0126, allocations: 11.94 kB / 354.5 MB, free: 1.922 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/0.0126, allocations: 3.938 kB / 354.5 MB, free: 1.918 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003561/0.01296, allocations: 186 kB / 354.7 MB, free: 1.715 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.246e-05/0.01299, allocations: 19.84 kB / 354.7 MB, free: 1.695 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.701e-05/0.01303, allocations: 7.984 kB / 354.7 MB, free: 1.688 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.679e-05/0.01309, allocations: 11.94 kB / 354.7 MB, free: 1.676 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.923e-05/0.01317, allocations: 7.984 kB / 354.7 MB, free: 1.668 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.211e-05/0.0132, allocations: 4 kB / 354.7 MB, free: 1.664 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001507/0.01335, allocations: 169.5 kB / 354.9 MB, free: 1.5 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01335, allocations: 0 / 354.9 MB, free: 1.5 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002858/0.01363, allocations: 43.92 kB / 354.9 MB, free: 1.457 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002371/0.016, allocations: 493 kB / 355.4 MB, free: 1.078 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003102/0.01631, allocations: 87.89 kB / 355.5 MB, free: 0.9922 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.01632, allocations: 0 / 355.5 MB, free: 0.9922 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001174/0.01643, allocations: 44.05 kB / 355.5 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004537/0.01689, allocations: 73.12 kB / 355.6 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006616/0.01755, allocations: 281 kB / 355.9 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.548e-05/0.01763, allocations: 106.2 kB / 356 MB, free: 460 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.551e-05/0.01772, allocations: 29.47 kB / 356 MB, free: 432 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.373e-05/0.01778, allocations: 24.48 kB / 356 MB, free: 408 kB / 282.7 MB Notification: Performance of SimCode: time 1.062e-06/0.01778, allocations: 0 / 356 MB, free: 408 kB / 282.7 MB Notification: Performance of Templates: time 0.008675/0.02646, allocations: 2.951 MB / 359 MB, free: 13.48 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.035799560020678]