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.002193/0.002193, allocations: 84.34 kB / 20.96 MB, free: 3.453 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.002979/0.002979, allocations: 165.3 kB / 24.27 MB, free: 148 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.541/1.541, allocations: 177.1 MB / 204.6 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] 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.3565/0.3565, allocations: 34.27 MB / 295.3 MB, free: 0.6758 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.1.",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.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 0 / 377.4 MB, free: 2.875 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.034e-05/3.209e-05, allocations: 2.312 kB / 377.4 MB, free: 2.871 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.003681/0.003713, allocations: 1.669 MB / 379 MB, free: 1.188 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001889/0.005603, allocations: 0.9625 MB / 380 MB, free: 224 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.294e-05/0.005666, allocations: 0 / 380 MB, free: 224 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003268/0.005993, allocations: 75.66 kB / 380.1 MB, free: 148 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003397/0.006332, allocations: 107.5 kB / 380.2 MB, free: 40 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002274/0.00656, allocations: 71.83 kB / 380.2 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001944/0.006754, allocations: 107.6 kB / 380.4 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.728e-05/0.006791, allocations: 4.234 kB / 380.4 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001234/0.006915, allocations: 63.81 kB / 380.4 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001011/0.007016, allocations: 39.88 kB / 380.5 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.078e-05/0.007037, allocations: 4 kB / 380.5 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.695e-05/0.007124, allocations: 35.92 kB / 380.5 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.212e-05/0.007186, allocations: 23.86 kB / 380.5 MB, free: 15.69 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.711e-05/0.007233, allocations: 19.94 kB / 380.5 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002132/0.007446, allocations: 103.6 kB / 380.6 MB, free: 15.57 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.00745, allocations: 0 / 380.6 MB, free: 15.57 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.007451, allocations: 0 / 380.6 MB, free: 15.57 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.459e-06/0.007456, allocations: 0 / 380.6 MB, free: 15.57 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.0006089/0.008065, allocations: 333.6 kB / 381 MB, free: 15.21 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.008105, allocations: 12.03 kB / 381 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.575e-05/0.00817, allocations: 12.88 kB / 381 MB, free: 15.19 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003159/0.008486, allocations: 162.2 kB / 381.2 MB, free: 15.01 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.008505, allocations: 4.375 kB / 381.2 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.045e-05/0.008515, allocations: 4.375 kB / 381.2 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001531/0.008668, allocations: 54.17 kB / 381.2 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.00868, allocations: 3.938 kB / 381.2 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.537e-06/0.008689, allocations: 0 / 381.2 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.008694, allocations: 0 / 381.2 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.741e-05/0.008781, allocations: 15.98 kB / 381.2 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002131/0.008994, allocations: 133.3 kB / 381.4 MB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001853/0.009179, allocations: 50.61 kB / 381.4 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.5e-05/0.009244, allocations: 20.86 kB / 381.4 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.479e-05/0.009259, allocations: 0 / 381.4 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001816/0.009441, allocations: 71.33 kB / 381.5 MB, free: 14.6 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.009442, allocations: 0 / 381.5 MB, free: 14.6 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.000337/0.009779, allocations: 105.5 kB / 381.6 MB, free: 14.49 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.43e-05/0.009833, allocations: 55.41 kB / 381.7 MB, free: 14.42 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002383/0.01007, allocations: 202.7 kB / 381.9 MB, free: 14.21 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.268e-05/0.01009, allocations: 25.7 kB / 381.9 MB, free: 14.18 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.045e-05/0.01017, allocations: 108.1 kB / 382 MB, free: 14.07 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.211e-05/0.01021, allocations: 15.91 kB / 382 MB, free: 14.05 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.472e-05/0.01025, allocations: 21.7 kB / 382 MB, free: 14.03 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001921/0.01044, allocations: 326.8 kB / 382.3 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.64e-05/0.0105, allocations: 12 kB / 382.4 MB, free: 13.69 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.637e-05/0.01057, allocations: 29.7 kB / 382.4 MB, free: 13.65 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001157/0.01068, allocations: 49.95 kB / 382.4 MB, free: 13.6 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.01068, allocations: 0 / 382.4 MB, free: 13.6 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001861/0.01087, allocations: 85.58 kB / 382.5 MB, free: 13.51 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.01089, allocations: 7.984 kB / 382.5 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.01089, allocations: 7.969 kB / 382.5 MB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.064e-05/0.01091, allocations: 4 kB / 382.5 MB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.065e-05/0.01099, allocations: 8 kB / 382.5 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.011, allocations: 0 / 382.5 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.144e-05/0.01105, allocations: 7.938 kB / 382.6 MB, free: 13.47 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.091e-06/0.01106, allocations: 0 / 382.6 MB, free: 13.47 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 0.0001258/0.01118, allocations: 129.8 kB / 382.7 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.867e-05/0.01121, allocations: 15.91 kB / 382.7 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002374/0.01145, allocations: 102.9 kB / 382.8 MB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.01145, allocations: 0 / 382.8 MB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.01146, allocations: 4 kB / 382.8 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.01146, allocations: 0 / 382.8 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001601/0.01162, allocations: 137.3 kB / 382.9 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.01162, allocations: 0 / 382.9 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.794e-05/0.01165, allocations: 4 kB / 382.9 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.01165, allocations: 0 / 382.9 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.01166, allocations: 7.922 kB / 382.9 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.412e-06/0.01167, allocations: 7.875 kB / 383 MB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.01167, allocations: 0 / 383 MB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002242/0.01189, allocations: 117.2 kB / 383.1 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.481e-05/0.01192, allocations: 15.94 kB / 383.1 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.476e-05/0.01194, allocations: 12 kB / 383.1 MB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.152e-05/0.01198, allocations: 3.938 kB / 383.1 MB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.88e-05/0.01202, allocations: 3.984 kB / 383.1 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.162e-05/0.01203, allocations: 4 kB / 383.1 MB, free: 12.86 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001737/0.01221, allocations: 152.2 kB / 383.3 MB, free: 12.71 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01221, allocations: 0 / 383.3 MB, free: 12.71 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002267/0.01243, allocations: 19.94 kB / 383.3 MB, free: 12.69 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.001946/0.01438, allocations: 425.9 kB / 383.7 MB, free: 12.46 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001849/0.01456, allocations: 51.91 kB / 383.7 MB, free: 12.41 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.01456, allocations: 0 / 383.7 MB, free: 12.41 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.885e-05/0.01463, allocations: 24.11 kB / 383.8 MB, free: 12.38 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003032/0.01494, allocations: 28.11 kB / 383.8 MB, free: 12.36 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005239/0.01546, allocations: 216.5 kB / 384 MB, free: 12.12 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001004/0.01556, allocations: 89.38 kB / 384.1 MB, free: 12.01 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.737e-05/0.01561, allocations: 12.56 kB / 384.1 MB, free: 12 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.542e-05/0.01565, allocations: 20.48 kB / 384.1 MB, free: 11.98 MB / 362.7 MB Notification: Performance of SimCode: time 4.71e-07/0.01565, allocations: 0 / 384.1 MB, free: 11.98 MB / 362.7 MB Notification: Performance of Templates: time 0.005382/0.02104, allocations: 1.641 MB / 385.8 MB, free: 10.36 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.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: 4.879440026939847]