Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.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.001033/0.001033, allocations: 80.31 kB / 22.21 MB, free: 2.293 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.001319/0.001319, allocations: 167.4 kB / 25.61 MB, free: 8.496 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9816/0.9816, allocations: 177.1 MB / 206 MB, free: 4.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1401/0.1401, allocations: 32.8 MB / 295.4 MB, free: 15.39 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39") translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 377.3 MB, free: 25.53 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.544e-05/2.674e-05, allocations: 6.141 kB / 377.4 MB, free: 25.52 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.005907/0.005934, allocations: 1.703 MB / 379.1 MB, free: 23.81 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001322/0.007256, allocations: 0.9819 MB / 380 MB, free: 22.82 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.145e-05/0.007337, allocations: 0 / 380 MB, free: 22.82 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002869/0.007624, allocations: 67.67 kB / 380.1 MB, free: 22.75 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003392/0.01102, allocations: 115.4 kB / 380.2 MB, free: 22.64 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002323/0.01125, allocations: 75.61 kB / 380.3 MB, free: 22.57 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001705/0.01142, allocations: 111.6 kB / 380.4 MB, free: 22.46 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.911e-05/0.01146, allocations: 240 / 380.4 MB, free: 22.46 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.626e-05/0.01155, allocations: 59.83 kB / 380.5 MB, free: 22.4 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.303e-05/0.01165, allocations: 47.81 kB / 380.5 MB, free: 22.35 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.479e-05/0.01166, allocations: 4 kB / 380.5 MB, free: 22.35 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.28e-05/0.01174, allocations: 35.92 kB / 380.5 MB, free: 22.31 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.301e-05/0.01179, allocations: 11.94 kB / 380.6 MB, free: 22.3 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.231e-05/0.01182, allocations: 27.91 kB / 380.6 MB, free: 22.27 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001702/0.01199, allocations: 83.73 kB / 380.7 MB, free: 22.19 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.01199, allocations: 4 kB / 380.7 MB, free: 22.19 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.01199, allocations: 0 / 380.7 MB, free: 22.19 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.918e-06/0.012, allocations: 0 / 380.7 MB, free: 22.19 MB / 314.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.0003237/0.01232, allocations: 443.8 kB / 381.1 MB, free: 21.72 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.01236, allocations: 11.98 kB / 381.1 MB, free: 21.71 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.568e-05/0.01239, allocations: 12.89 kB / 381.1 MB, free: 21.7 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001342/0.01252, allocations: 153.1 kB / 381.3 MB, free: 21.52 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.01254, allocations: 4.375 kB / 381.3 MB, free: 21.52 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.656e-06/0.01255, allocations: 8.359 kB / 381.3 MB, free: 21.51 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.622e-05/0.01264, allocations: 50.95 kB / 381.3 MB, free: 21.45 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.01265, allocations: 7.922 kB / 381.3 MB, free: 21.44 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.062e-06/0.01266, allocations: 0 / 381.3 MB, free: 21.44 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.01266, allocations: 4 kB / 381.3 MB, free: 21.44 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.537e-05/0.01269, allocations: 11.92 kB / 381.4 MB, free: 21.43 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001006/0.01279, allocations: 109.2 kB / 381.5 MB, free: 21.29 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.016e-05/0.01287, allocations: 47.14 kB / 381.5 MB, free: 21.23 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.139e-05/0.01289, allocations: 19.69 kB / 381.5 MB, free: 21.21 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.457e-06/0.0129, allocations: 0 / 381.5 MB, free: 21.21 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.703e-05/0.01297, allocations: 65.03 kB / 381.6 MB, free: 21.13 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 9.72e-07/0.01298, allocations: 0 / 381.6 MB, free: 21.13 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001484/0.01312, allocations: 89.45 kB / 381.7 MB, free: 21.04 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.797e-05/0.01314, allocations: 51.41 kB / 381.7 MB, free: 20.98 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.01324, allocations: 229.8 kB / 382 MB, free: 20.73 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.056e-06/0.01325, allocations: 25.7 kB / 382 MB, free: 20.7 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.331e-05/0.01328, allocations: 146.9 kB / 382.1 MB, free: 20.55 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.736e-05/0.01331, allocations: 19.92 kB / 382.1 MB, free: 20.54 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.292e-05/0.01334, allocations: 23.38 kB / 382.2 MB, free: 20.5 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.864e-05/0.01339, allocations: 0.5001 MB / 382.7 MB, free: 19.99 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.778e-05/0.01341, allocations: 4 kB / 382.7 MB, free: 19.99 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.394e-05/0.01343, allocations: 27.36 kB / 382.7 MB, free: 19.95 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.208e-05/0.01348, allocations: 35.31 kB / 382.7 MB, free: 19.91 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.01348, allocations: 0 / 382.7 MB, free: 19.91 MB / 314.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.002989/0.01647, allocations: 69.53 kB / 382.8 MB, free: 19.84 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.01649, allocations: 8 kB / 382.8 MB, free: 19.83 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.01649, allocations: 0 / 382.8 MB, free: 19.83 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/0.0165, allocations: 8.281 kB / 382.8 MB, free: 19.82 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.225e-05/0.01659, allocations: 11.98 kB / 382.8 MB, free: 19.81 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.627e-06/0.01659, allocations: 7.938 kB / 382.8 MB, free: 19.8 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.975e-05/0.01664, allocations: 11.94 kB / 382.8 MB, free: 19.79 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.793e-06/0.01665, allocations: 4 kB / 382.9 MB, free: 19.79 MB / 314.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 7.134e-05/0.01672, allocations: 156.6 kB / 383 MB, free: 19.62 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.353e-05/0.01674, allocations: 15.91 kB / 383 MB, free: 19.61 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001419/0.01688, allocations: 86.75 kB / 383.1 MB, free: 19.52 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.01689, allocations: 3.938 kB / 383.1 MB, free: 19.51 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.734e-06/0.01689, allocations: 0 / 383.1 MB, free: 19.51 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.01689, allocations: 4 kB / 383.1 MB, free: 19.51 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.74e-05/0.01699, allocations: 117.2 kB / 383.2 MB, free: 19.37 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.01699, allocations: 0 / 383.2 MB, free: 19.37 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.595e-05/0.01702, allocations: 4 kB / 383.2 MB, free: 19.36 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.01702, allocations: 0 / 383.2 MB, free: 19.36 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.144e-06/0.01703, allocations: 3.984 kB / 383.2 MB, free: 19.36 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.275e-06/0.01703, allocations: 4 kB / 383.2 MB, free: 19.36 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.01703, allocations: 0 / 383.2 MB, free: 19.36 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000115/0.01715, allocations: 120.2 kB / 383.4 MB, free: 19.21 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.838e-05/0.01716, allocations: 11.94 kB / 383.4 MB, free: 19.2 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.761e-05/0.01718, allocations: 0 / 383.4 MB, free: 19.2 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.643e-05/0.01722, allocations: 12 kB / 383.4 MB, free: 19.19 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.558e-05/0.01724, allocations: 3.984 kB / 383.4 MB, free: 19.19 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.334e-05/0.01726, allocations: 7.938 kB / 383.4 MB, free: 19.18 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.257e-05/0.01732, allocations: 163.1 kB / 383.6 MB, free: 19.02 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01732, allocations: 0 / 383.6 MB, free: 19.02 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002353/0.01755, allocations: 16 kB / 383.6 MB, free: 19 MB / 314.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.001238/0.01879, allocations: 389.8 kB / 383.9 MB, free: 18.77 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001129/0.01891, allocations: 39.59 kB / 384 MB, free: 18.73 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.01891, allocations: 0 / 384 MB, free: 18.73 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.478e-05/0.01894, allocations: 27.67 kB / 384 MB, free: 18.7 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002654/0.01921, allocations: 30.75 kB / 384 MB, free: 18.67 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004007/0.01961, allocations: 204 kB / 384.2 MB, free: 18.44 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.512e-05/0.01964, allocations: 71.27 kB / 384.3 MB, free: 18.35 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.172e-05/0.01968, allocations: 8.5 kB / 384.3 MB, free: 18.34 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.435e-05/0.01976, allocations: 86.19 kB / 384.4 MB, free: 18.26 MB / 314.7 MB Notification: Performance of SimCode: time 1.092e-06/0.01976, allocations: 0 / 384.4 MB, free: 18.26 MB / 314.7 MB Notification: Performance of Templates: time 0.004415/0.02417, allocations: 1.813 MB / 386.2 MB, free: 16.48 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.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.226588552352041]