Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.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.001409/0.001409, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001561/0.001561, allocations: 161 kB / 24.56 MB, free: 16 kB / 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 1.052/1.052, allocations: 177.1 MB / 205 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2856/0.2856, allocations: 34.25 MB / 295.7 MB, free: 0.7578 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 378.1 MB, free: 2.582 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.73e-05/2.868e-05, allocations: 2.312 kB / 378.1 MB, free: 2.578 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.002537/0.002566, allocations: 1.719 MB / 379.8 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001386/0.003952, allocations: 0.9937 MB / 380.8 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.206e-05/0.004034, allocations: 0 / 380.8 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003856/0.00442, allocations: 75.64 kB / 380.9 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003383/0.004758, allocations: 107.5 kB / 381 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001849/0.004943, allocations: 71.67 kB / 381.1 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001766/0.00512, allocations: 115.6 kB / 381.2 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.016e-05/0.00516, allocations: 8.234 kB / 381.2 MB, free: 15.47 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002611/0.005421, allocations: 55.83 kB / 381.3 MB, free: 15.42 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001011/0.005522, allocations: 39.89 kB / 381.3 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.763e-05/0.00554, allocations: 4 kB / 381.3 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.812e-05/0.005628, allocations: 35.92 kB / 381.3 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6e-05/0.005688, allocations: 27.84 kB / 381.4 MB, free: 15.31 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.091e-05/0.005729, allocations: 15.94 kB / 381.4 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001926/0.005921, allocations: 87.66 kB / 381.5 MB, free: 15.21 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.005925, allocations: 0 / 381.5 MB, free: 15.21 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.005927, allocations: 0 / 381.5 MB, free: 15.21 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.77e-06/0.005933, allocations: 4 kB / 381.5 MB, free: 15.21 MB / 362.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.0005194/0.006452, allocations: 443.9 kB / 381.9 MB, free: 14.74 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.006492, allocations: 8.031 kB / 381.9 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.246e-05/0.006544, allocations: 12.84 kB / 381.9 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001831/0.006727, allocations: 149.1 kB / 382.1 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.025e-05/0.006748, allocations: 4.375 kB / 382.1 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.81e-05/0.006766, allocations: 4.375 kB / 382.1 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001776/0.006943, allocations: 58.88 kB / 382.1 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.006955, allocations: 3.938 kB / 382.1 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.006966, allocations: 0 / 382.1 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/0.006976, allocations: 8 kB / 382.1 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.537e-05/0.007012, allocations: 11.92 kB / 382.1 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001911/0.007203, allocations: 144.6 kB / 382.3 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001194/0.007322, allocations: 43.11 kB / 382.3 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.49e-05/0.007357, allocations: 23.62 kB / 382.4 MB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.687e-05/0.007374, allocations: 0 / 382.4 MB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001207/0.007495, allocations: 65.05 kB / 382.4 MB, free: 14.11 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.007496, allocations: 0 / 382.4 MB, free: 14.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.000261/0.007757, allocations: 93.52 kB / 382.5 MB, free: 14.02 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.762e-05/0.007794, allocations: 55.34 kB / 382.6 MB, free: 13.95 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001572/0.007952, allocations: 234.4 kB / 382.8 MB, free: 13.7 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.41e-05/0.007966, allocations: 25.7 kB / 382.8 MB, free: 13.67 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.995e-05/0.008026, allocations: 150.9 kB / 383 MB, free: 13.52 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.83e-05/0.008064, allocations: 15.83 kB / 383 MB, free: 13.5 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.112e-05/0.008105, allocations: 27.38 kB / 383 MB, free: 13.47 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.008233, allocations: 0.4962 MB / 383.5 MB, free: 12.96 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.905e-05/0.008262, allocations: 7.984 kB / 383.5 MB, free: 12.95 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.384e-05/0.008296, allocations: 27.38 kB / 383.5 MB, free: 12.92 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.167e-05/0.008347, allocations: 39.62 kB / 383.6 MB, free: 12.87 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.00835, allocations: 0 / 383.6 MB, free: 12.87 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.503e-05/0.008445, allocations: 73.58 kB / 383.6 MB, free: 12.79 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.00846, allocations: 7.984 kB / 383.7 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.008467, allocations: 7.938 kB / 383.7 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.008483, allocations: 0 / 383.7 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.2e-05/0.008565, allocations: 8 kB / 383.7 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.008572, allocations: 3.938 kB / 383.7 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.48e-05/0.008607, allocations: 11.95 kB / 383.7 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-06/0.008612, allocations: 0 / 383.7 MB, free: 12.75 MB / 362.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.907e-05/0.008691, allocations: 164.6 kB / 383.8 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.375e-05/0.008705, allocations: 11.95 kB / 383.9 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001403/0.008845, allocations: 86.92 kB / 383.9 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.157e-06/0.00885, allocations: 3.984 kB / 384 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.008856, allocations: 4 kB / 384 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.00886, allocations: 0 / 384 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.971e-05/0.008959, allocations: 140.6 kB / 384.1 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.008962, allocations: 0 / 384.1 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.445e-05/0.008986, allocations: 7.938 kB / 384.1 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.008988, allocations: 3.938 kB / 384.1 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.008995, allocations: 7.984 kB / 384.1 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.008999, allocations: 7.922 kB / 384.1 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.009, allocations: 4 kB / 384.1 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000113/0.009113, allocations: 108.5 kB / 384.2 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.743e-05/0.00913, allocations: 19.94 kB / 384.2 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.905e-05/0.009149, allocations: 0 / 384.2 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.83e-05/0.009177, allocations: 7.938 kB / 384.3 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.614e-05/0.009213, allocations: 3.984 kB / 384.3 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.472e-05/0.009228, allocations: 4 kB / 384.3 MB, free: 12.11 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.559e-05/0.009304, allocations: 168.2 kB / 384.4 MB, free: 11.94 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.009304, allocations: 4 kB / 384.4 MB, free: 11.94 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001501/0.009454, allocations: 19.94 kB / 384.5 MB, free: 11.92 MB / 362.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.0008463/0.0103, allocations: 380.8 kB / 384.8 MB, free: 11.69 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000119/0.01042, allocations: 39.67 kB / 384.9 MB, free: 11.64 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.01042, allocations: 0 / 384.9 MB, free: 11.64 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.371e-05/0.01046, allocations: 27.61 kB / 384.9 MB, free: 11.61 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002049/0.01066, allocations: 35.91 kB / 384.9 MB, free: 11.58 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003611/0.01102, allocations: 190.1 kB / 385.1 MB, free: 11.36 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.322e-05/0.01106, allocations: 67.33 kB / 385.2 MB, free: 11.28 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.746e-05/0.0111, allocations: 12.48 kB / 385.2 MB, free: 11.27 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.267e-05/0.01113, allocations: 20.56 kB / 385.2 MB, free: 11.25 MB / 362.7 MB Notification: Performance of SimCode: time 7.52e-07/0.01114, allocations: 0 / 385.2 MB, free: 11.25 MB / 362.7 MB Notification: Performance of Templates: time 0.003668/0.0148, allocations: 1.638 MB / 386.8 MB, free: 9.633 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.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.438987758010626]