Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.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.001895/0.001895, allocations: 92.31 kB / 20.96 MB, free: 3.469 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.002437/0.002437, allocations: 157.7 kB / 24.26 MB, free: 172 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.544/1.544, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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.4362/0.4362, allocations: 32.8 MB / 293.9 MB, free: 1.195 MB / 266.7 MB " [Timeout remaining time 179] 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.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33") translateModel(ModelicaTest.Tables.CombiTimeTable.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 375.3 MB, free: 4.898 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.173e-05/4.361e-05, allocations: 6.25 kB / 375.3 MB, free: 4.891 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.003912/0.003956, allocations: 1.726 MB / 377.1 MB, free: 3.152 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002373/0.006328, allocations: 0.9742 MB / 378 MB, free: 2.172 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001201/0.006448, allocations: 3.938 kB / 378 MB, free: 2.168 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003852/0.006834, allocations: 39.77 kB / 378.1 MB, free: 2.129 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004844/0.007318, allocations: 95.48 kB / 378.2 MB, free: 2.035 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003244/0.007642, allocations: 83.59 kB / 378.3 MB, free: 1.953 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002561/0.007898, allocations: 111.6 kB / 378.4 MB, free: 1.844 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.008004, allocations: 4 kB / 378.4 MB, free: 1.84 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001535/0.008157, allocations: 51.84 kB / 378.4 MB, free: 1.789 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000104/0.008261, allocations: 31.89 kB / 378.5 MB, free: 1.758 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.429e-05/0.008285, allocations: 4 kB / 378.5 MB, free: 1.754 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001406/0.008426, allocations: 43.92 kB / 378.5 MB, free: 1.711 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.227e-05/0.008498, allocations: 19.92 kB / 378.5 MB, free: 1.691 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.154e-05/0.00856, allocations: 23.86 kB / 378.5 MB, free: 1.668 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003106/0.00887, allocations: 115.6 kB / 378.7 MB, free: 1.555 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.008876, allocations: 4 kB / 378.7 MB, free: 1.551 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.939e-06/0.008881, allocations: 7.984 kB / 378.7 MB, free: 1.543 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.008888, allocations: 0 / 378.7 MB, free: 1.543 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006626/0.00955, allocations: 333.6 kB / 379 MB, free: 1.188 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.009593, allocations: 8.031 kB / 379 MB, free: 1.18 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.936e-05/0.009662, allocations: 20.83 kB / 379 MB, free: 1.16 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003202/0.009982, allocations: 150.3 kB / 379.2 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.72e-05/0.009999, allocations: 4.375 kB / 379.2 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.75e-05/0.01003, allocations: 4.312 kB / 379.2 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001738/0.0102, allocations: 62.23 kB / 379.2 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.01021, allocations: 3.938 kB / 379.2 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.01023, allocations: 3.938 kB / 379.2 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.01023, allocations: 0 / 379.2 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.508e-05/0.01031, allocations: 23.98 kB / 379.3 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004174/0.01073, allocations: 236.5 kB / 379.5 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002014/0.01093, allocations: 62.61 kB / 379.6 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.97e-05/0.01101, allocations: 24.78 kB / 379.6 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.676e-05/0.01103, allocations: 0 / 379.6 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001691/0.0112, allocations: 71.39 kB / 379.7 MB, free: 452 kB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.0112, allocations: 0 / 379.7 MB, free: 452 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006628/0.01186, allocations: 177.4 kB / 379.8 MB, free: 268 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.921e-05/0.01192, allocations: 55.41 kB / 379.9 MB, free: 200 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000286/0.01221, allocations: 202.7 kB / 380.1 MB, free: 15.98 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.363e-05/0.01223, allocations: 25.7 kB / 380.1 MB, free: 15.95 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.148e-05/0.01232, allocations: 111.9 kB / 380.2 MB, free: 15.84 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.37e-05/0.01237, allocations: 27.78 kB / 380.2 MB, free: 15.81 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.58e-05/0.01242, allocations: 21.72 kB / 380.3 MB, free: 15.79 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001822/0.01261, allocations: 322.8 kB / 380.6 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.217e-05/0.01268, allocations: 31.92 kB / 380.6 MB, free: 15.43 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.256e-05/0.01276, allocations: 37.7 kB / 380.6 MB, free: 15.39 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001515/0.01291, allocations: 65.62 kB / 380.7 MB, free: 15.32 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.01291, allocations: 4 kB / 380.7 MB, free: 15.31 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002337/0.01315, allocations: 105.6 kB / 380.8 MB, free: 15.2 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.01316, allocations: 4 kB / 380.8 MB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.01317, allocations: 0 / 380.8 MB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.382e-05/0.01319, allocations: 4 kB / 380.8 MB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.452e-05/0.01329, allocations: 16.41 kB / 380.8 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.0133, allocations: 3.938 kB / 380.8 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.885e-05/0.01336, allocations: 11.98 kB / 380.9 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.11e-05/0.01337, allocations: 4 kB / 380.9 MB, free: 15.16 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 (10): * Single equations (assignments): 10 * 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.0001294/0.0135, allocations: 125.8 kB / 381 MB, free: 15.03 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.472e-05/0.01353, allocations: 15.91 kB / 381 MB, free: 15.01 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003112/0.01384, allocations: 131.2 kB / 381.1 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.01385, allocations: 0 / 381.1 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.01385, allocations: 0 / 381.1 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.01385, allocations: 4 kB / 381.1 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005221/0.01437, allocations: 350.9 kB / 381.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.01438, allocations: 7.922 kB / 381.5 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.467e-05/0.01442, allocations: 11.98 kB / 381.5 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.746e-06/0.01443, allocations: 4 kB / 381.5 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.01444, allocations: 0 / 381.5 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.01444, allocations: 0 / 381.5 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.01444, allocations: 0 / 381.5 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003128/0.01476, allocations: 220.2 kB / 381.7 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.833e-05/0.01479, allocations: 15.91 kB / 381.7 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.353e-05/0.01481, allocations: 4.031 kB / 381.7 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.086e-05/0.01489, allocations: 4 kB / 381.7 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.552e-05/0.01494, allocations: 11.98 kB / 381.7 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.366e-05/0.01495, allocations: 0 / 381.7 MB, free: 14.2 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001646/0.01511, allocations: 156.2 kB / 381.9 MB, free: 14.05 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01511, allocations: 0 / 381.9 MB, free: 14.05 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002859/0.0154, allocations: 31.86 kB / 381.9 MB, free: 14.02 MB / 362.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: 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 (9): * Single equations (assignments): 7 * 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.002313/0.01771, allocations: 495.8 kB / 382.4 MB, free: 13.74 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002193/0.01793, allocations: 63.91 kB / 382.5 MB, free: 13.68 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.01794, allocations: 0 / 382.5 MB, free: 13.68 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.218e-05/0.01802, allocations: 23.98 kB / 382.5 MB, free: 13.66 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003825/0.0184, allocations: 31.92 kB / 382.5 MB, free: 13.62 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005439/0.01894, allocations: 237.7 kB / 382.8 MB, free: 13.36 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000111/0.01905, allocations: 96.3 kB / 382.9 MB, free: 13.25 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.255e-05/0.01912, allocations: 21.27 kB / 382.9 MB, free: 13.23 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.504e-05/0.01916, allocations: 16.5 kB / 382.9 MB, free: 13.21 MB / 362.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01916, allocations: 0 / 382.9 MB, free: 13.21 MB / 362.7 MB Notification: Performance of Templates: time 0.00587/0.02503, allocations: 1.872 MB / 384.8 MB, free: 11.37 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test33/Test33.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.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.90876484895125]