Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.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.00192/0.00192, 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.002489/0.002489, allocations: 157.7 kB / 24.26 MB, free: 176 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.578/1.578, allocations: 177.1 MB / 204.6 MB, free: 5.586 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.339/0.339, allocations: 32.81 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.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 375.3 MB, free: 4.895 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.827e-05/2.975e-05, allocations: 6.25 kB / 375.3 MB, free: 4.887 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.003476/0.003506, allocations: 1.716 MB / 377.1 MB, free: 3.156 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003025/0.00653, allocations: 1.676 MB / 378.7 MB, free: 1.473 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.515e-05/0.006625, allocations: 0 / 378.7 MB, free: 1.473 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003422/0.006968, allocations: 39.7 kB / 378.8 MB, free: 1.434 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004748/0.007442, allocations: 111.4 kB / 378.9 MB, free: 1.324 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002704/0.007713, allocations: 87.59 kB / 379 MB, free: 1.238 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002299/0.007943, allocations: 111.7 kB / 379.1 MB, free: 1.129 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.761e-05/0.00803, allocations: 8 kB / 379.1 MB, free: 1.121 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001409/0.008171, allocations: 63.77 kB / 379.2 MB, free: 1.059 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001446/0.008316, allocations: 35.89 kB / 379.2 MB, free: 1.023 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.166e-05/0.008337, allocations: 8 kB / 379.2 MB, free: 1.016 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002277/0.008565, allocations: 99.88 kB / 379.3 MB, free: 0.918 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.843e-05/0.008624, allocations: 27.84 kB / 379.3 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.871e-05/0.008682, allocations: 27.92 kB / 379.3 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003611/0.009043, allocations: 183.4 kB / 379.5 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.009047, allocations: 3.938 kB / 379.5 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.009048, allocations: 4 kB / 379.5 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.88e-06/0.009053, allocations: 0 / 379.5 MB, free: 0.6758 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006748/0.009728, allocations: 361.5 kB / 379.9 MB, free: 300 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.009765, allocations: 8.031 kB / 379.9 MB, free: 292 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.365e-05/0.009838, allocations: 16.84 kB / 379.9 MB, free: 276 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002882/0.01013, allocations: 160 kB / 380.1 MB, free: 92 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.412e-05/0.01014, allocations: 384 / 380.1 MB, free: 92 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.877e-05/0.01017, allocations: 4.375 kB / 380.1 MB, free: 88 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002552/0.01042, allocations: 105.7 kB / 380.2 MB, free: 15.96 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.01044, allocations: 7.938 kB / 380.2 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.01045, allocations: 0 / 380.2 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.01046, allocations: 4 kB / 380.2 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001207/0.01058, allocations: 31.91 kB / 380.2 MB, free: 15.92 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004635/0.01105, allocations: 252.4 kB / 380.5 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002516/0.0113, allocations: 70.61 kB / 380.5 MB, free: 15.57 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.539e-05/0.01138, allocations: 32.78 kB / 380.6 MB, free: 15.53 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.016e-05/0.0114, allocations: 0 / 380.6 MB, free: 15.53 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001945/0.0116, allocations: 71.33 kB / 380.6 MB, free: 15.45 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.272e-06/0.0116, allocations: 8 kB / 380.6 MB, free: 15.44 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0007865/0.01238, allocations: 209.3 kB / 380.8 MB, free: 15.23 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.241e-05/0.01246, allocations: 85.09 kB / 380.9 MB, free: 15.13 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002352/0.01269, allocations: 179.6 kB / 381.1 MB, free: 14.94 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.504e-05/0.01272, allocations: 25.7 kB / 381.1 MB, free: 14.91 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.963e-05/0.01281, allocations: 104.1 kB / 381.2 MB, free: 14.8 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.559e-05/0.01285, allocations: 31.73 kB / 381.3 MB, free: 14.77 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.84e-05/0.01291, allocations: 25.72 kB / 381.3 MB, free: 14.74 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002038/0.01311, allocations: 322.8 kB / 381.6 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.064e-05/0.0132, allocations: 27.98 kB / 381.6 MB, free: 14.39 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004025/0.0136, allocations: 80.25 kB / 381.7 MB, free: 14.3 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001739/0.01377, allocations: 81.64 kB / 381.8 MB, free: 14.21 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.01377, allocations: 0 / 381.8 MB, free: 14.21 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002809/0.01405, allocations: 125.5 kB / 381.9 MB, free: 14.08 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.01407, allocations: 6.031 kB / 381.9 MB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.01408, allocations: 0 / 381.9 MB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.01409, allocations: 0 / 381.9 MB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/0.0142, allocations: 19.94 kB / 381.9 MB, free: 14.06 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.0142, allocations: 4.062 kB / 381.9 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.147e-05/0.01426, allocations: 11.98 kB / 382 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.137e-05/0.01428, allocations: 4.469 kB / 382 MB, free: 14.04 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 (11): * Single equations (assignments): 11 * 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.0001231/0.0144, allocations: 125 kB / 382.1 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.433e-05/0.01444, allocations: 19.91 kB / 382.1 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003312/0.01477, allocations: 142.3 kB / 382.2 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.01478, allocations: 0 / 382.2 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.01478, allocations: 3.938 kB / 382.2 MB, free: 13.74 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.01479, allocations: 3.984 kB / 382.2 MB, free: 13.74 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006031/0.01539, allocations: 378.8 kB / 382.6 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.01539, allocations: 0 / 382.6 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.082e-05/0.01545, allocations: 20 kB / 382.6 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.01546, allocations: 0 / 382.6 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/0.01547, allocations: 4 kB / 382.6 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.01547, allocations: 0 / 382.6 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.01547, allocations: 0 / 382.6 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003627/0.01584, allocations: 248.1 kB / 382.9 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.71e-05/0.01586, allocations: 11.94 kB / 382.9 MB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.64e-05/0.01589, allocations: 0 / 382.9 MB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.682e-05/0.01598, allocations: 12.03 kB / 382.9 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.212e-05/0.01602, allocations: 7.984 kB / 382.9 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.597e-05/0.01603, allocations: 4 kB / 382.9 MB, free: 13.01 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000153/0.01619, allocations: 139.2 kB / 383.1 MB, free: 12.87 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01619, allocations: 4 kB / 383.1 MB, free: 12.87 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003253/0.01651, allocations: 47.86 kB / 383.1 MB, free: 12.82 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 (11): * Single equations (assignments): 9 * 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.002712/0.01922, allocations: 0.5993 MB / 383.7 MB, free: 12.46 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002864/0.01951, allocations: 71.91 kB / 383.8 MB, free: 12.39 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/0.01952, allocations: 4 kB / 383.8 MB, free: 12.39 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001044/0.01962, allocations: 31.98 kB / 383.8 MB, free: 12.36 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004218/0.02004, allocations: 39.19 kB / 383.8 MB, free: 12.32 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006151/0.02066, allocations: 233.4 kB / 384.1 MB, free: 12.07 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001268/0.02078, allocations: 100.4 kB / 384.2 MB, free: 11.95 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.723e-05/0.02086, allocations: 16.64 kB / 384.2 MB, free: 11.93 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.697e-05/0.02093, allocations: 24.5 kB / 384.2 MB, free: 11.91 MB / 362.7 MB Notification: Performance of SimCode: time 6.51e-07/0.02093, allocations: 0 / 384.2 MB, free: 11.91 MB / 362.7 MB Notification: Performance of Templates: time 0.006797/0.02773, allocations: 2.666 MB / 386.9 MB, free: 9.277 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.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.961635470972396]