Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.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.001006/0.001006, 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.001029/0.001029, 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 0.9702/0.9702, allocations: 177.1 MB / 205 MB, free: 5.598 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.2401/0.2401, allocations: 34.26 MB / 295.7 MB, free: 0.7734 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.CombiTable1Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.903e-06/1.903e-06, allocations: 0 / 378 MB, free: 2.664 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.016e-05/2.206e-05, allocations: 2.312 kB / 378 MB, free: 2.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test2): time 0.002949/0.002971, allocations: 1.646 MB / 379.7 MB, free: 1 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009694/0.003941, allocations: 0.5414 MB / 380.2 MB, free: 464 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.698e-05/0.003998, allocations: 0 / 380.2 MB, free: 464 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000197/0.004194, allocations: 23.8 kB / 380.3 MB, free: 440 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003147/0.004509, allocations: 75.61 kB / 380.3 MB, free: 364 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003236/0.004833, allocations: 119.5 kB / 380.4 MB, free: 244 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001437/0.004976, allocations: 63.84 kB / 380.5 MB, free: 180 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.926e-05/0.005056, allocations: 11.98 kB / 380.5 MB, free: 168 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.435e-05/0.00512, allocations: 35.84 kB / 380.6 MB, free: 132 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.349e-05/0.005174, allocations: 19.92 kB / 380.6 MB, free: 112 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.283e-05/0.005186, allocations: 0 / 380.6 MB, free: 112 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.794e-05/0.005264, allocations: 27.98 kB / 380.6 MB, free: 84 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.018e-05/0.005305, allocations: 11.94 kB / 380.6 MB, free: 72 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.833e-05/0.005333, allocations: 19.92 kB / 380.6 MB, free: 52 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001692/0.005502, allocations: 63.81 kB / 380.7 MB, free: 15.98 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.534e-06/0.005505, allocations: 0 / 380.7 MB, free: 15.98 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.005505, allocations: 0 / 380.7 MB, free: 15.98 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.239e-06/0.00551, allocations: 7.984 kB / 380.7 MB, free: 15.98 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000401/0.005911, allocations: 412 kB / 381.1 MB, free: 15.54 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.005946, allocations: 8.031 kB / 381.1 MB, free: 15.54 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.005e-05/0.005986, allocations: 8.891 kB / 381.1 MB, free: 15.53 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001445/0.006131, allocations: 140.5 kB / 381.3 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.709e-06/0.00614, allocations: 384 / 381.3 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.326e-05/0.006164, allocations: 4.375 kB / 381.3 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001171/0.006281, allocations: 54.95 kB / 381.3 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.00629, allocations: 192 / 381.3 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.328e-06/0.0063, allocations: 4.125 kB / 381.3 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.006307, allocations: 4 kB / 381.3 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.18e-05/0.006339, allocations: 19.86 kB / 381.3 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002571/0.006596, allocations: 271.8 kB / 381.6 MB, free: 14.97 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001369/0.006733, allocations: 39.06 kB / 381.6 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.13e-05/0.006754, allocations: 15.75 kB / 381.7 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.712e-05/0.006771, allocations: 7.938 kB / 381.7 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.755e-05/0.006789, allocations: 33.39 kB / 381.7 MB, free: 14.85 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.00679, allocations: 3.938 kB / 381.7 MB, free: 14.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002735/0.007063, allocations: 101.4 kB / 381.8 MB, free: 14.74 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.453e-05/0.007088, allocations: 59.34 kB / 381.9 MB, free: 14.67 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.868e-05/0.007186, allocations: 204.5 kB / 382.1 MB, free: 14.45 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.997e-06/0.007195, allocations: 25.7 kB / 382.1 MB, free: 14.42 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.305e-05/0.007238, allocations: 138.9 kB / 382.2 MB, free: 14.28 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.71e-05/0.007256, allocations: 19.78 kB / 382.2 MB, free: 14.26 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.835e-05/0.007284, allocations: 27.38 kB / 382.3 MB, free: 14.23 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001046/0.007388, allocations: 0.4884 MB / 382.8 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.441e-05/0.007403, allocations: 4 kB / 382.8 MB, free: 13.72 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.419e-05/0.007417, allocations: 12.06 kB / 382.8 MB, free: 13.71 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.303e-05/0.00745, allocations: 23.69 kB / 382.8 MB, free: 13.68 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.007451, allocations: 0 / 382.8 MB, free: 13.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.093e-05/0.007522, allocations: 69.52 kB / 382.9 MB, free: 13.61 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.006e-05/0.007532, allocations: 4 kB / 382.9 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.007535, allocations: 0 / 382.9 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.007549, allocations: 0 / 382.9 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.715e-05/0.007586, allocations: 15.98 kB / 382.9 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.077e-06/0.00759, allocations: 0 / 382.9 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.574e-05/0.007606, allocations: 4 kB / 382.9 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-06/0.007611, allocations: 4 kB / 382.9 MB, free: 13.58 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.296e-05/0.007674, allocations: 156.6 kB / 383 MB, free: 13.42 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.998e-05/0.007694, allocations: 11.89 kB / 383.1 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001013/0.007796, allocations: 74.14 kB / 383.1 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.007797, allocations: 3.938 kB / 383.1 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.0078, allocations: 0 / 383.1 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.007803, allocations: 3.984 kB / 383.1 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000213/0.008016, allocations: 321.4 kB / 383.5 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.008018, allocations: 0 / 383.5 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.692e-05/0.008045, allocations: 16.23 kB / 383.5 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.008047, allocations: 0 / 383.5 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.622e-06/0.008053, allocations: 4 kB / 383.5 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.008055, allocations: 4 kB / 383.5 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.008056, allocations: 4 kB / 383.5 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.642e-05/0.008152, allocations: 211.8 kB / 383.7 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.005e-06/0.00816, allocations: 7.953 kB / 383.7 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.548e-06/0.00817, allocations: 0 / 383.7 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.957e-05/0.008199, allocations: 0 / 383.7 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.107e-05/0.00822, allocations: 7.984 kB / 383.7 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.456e-06/0.008224, allocations: 4 kB / 383.7 MB, free: 12.69 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.434e-05/0.008278, allocations: 151.2 kB / 383.9 MB, free: 12.54 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008278, allocations: 0 / 383.9 MB, free: 12.54 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000151/0.008429, allocations: 12 kB / 383.9 MB, free: 12.53 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0007692/0.009198, allocations: 384 kB / 384.2 MB, free: 12.29 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.513e-05/0.009284, allocations: 31.61 kB / 384.3 MB, free: 12.25 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.102e-06/0.009285, allocations: 0 / 384.3 MB, free: 12.25 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.905e-05/0.009304, allocations: 23.69 kB / 384.3 MB, free: 12.23 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001816/0.009485, allocations: 22.73 kB / 384.3 MB, free: 12.21 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002661/0.009751, allocations: 174.6 kB / 384.5 MB, free: 12 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.419e-05/0.009786, allocations: 63.34 kB / 384.6 MB, free: 11.92 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.26e-05/0.009818, allocations: 11.98 kB / 384.6 MB, free: 11.91 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.766e-05/0.009846, allocations: 20.48 kB / 384.6 MB, free: 11.89 MB / 362.7 MB Notification: Performance of SimCode: time 5.81e-07/0.009846, allocations: 3.938 kB / 384.6 MB, free: 11.89 MB / 362.7 MB Notification: Performance of Templates: time 0.002525/0.01237, allocations: 1.162 MB / 385.7 MB, free: 10.73 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test2/Test2.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.152922105975449]