Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34.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.00139/0.00139, allocations: 69.72 kB / 21.24 MB, free: 0.5547 MB / 14.72 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.001439/0.001439, allocations: 162.5 kB / 24.5 MB, free: 3.715 MB / 14.72 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.463/1.463, allocations: 177.2 MB / 204.9 MB, free: 9.008 MB / 190.1 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.2168/0.2168, allocations: 34.27 MB / 295.5 MB, free: 14.54 MB / 286.1 MB " [Timeout remaining time 179] 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.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34") translateModel(ModelicaTest.Tables.CombiTimeTable.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003282/0.003282, allocations: 71.88 kB / 443.2 MB, free: 6.574 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.372/0.3753, allocations: 66 MB / 0.4973 GB, free: 29.84 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.002697/0.378, allocations: 1.711 MB / 0.499 GB, free: 28.67 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001413/0.3794, allocations: 0.9723 MB / 0.4999 GB, free: 28.05 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.257e-05/0.3794, allocations: 0 / 0.4999 GB, free: 28.05 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002824/0.3797, allocations: 46.78 kB / 0.5 GB, free: 28.02 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000282/0.38, allocations: 94.34 kB / 0.5001 GB, free: 27.97 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001639/0.3802, allocations: 76.92 kB / 0.5001 GB, free: 27.93 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000165/0.3803, allocations: 111.1 kB / 0.5002 GB, free: 27.88 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.3804, allocations: 7.719 kB / 0.5002 GB, free: 27.88 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.104e-05/0.3805, allocations: 42.73 kB / 0.5003 GB, free: 27.86 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.528e-05/0.3806, allocations: 40.25 kB / 0.5003 GB, free: 27.83 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.707e-05/0.3806, allocations: 3.219 kB / 0.5003 GB, free: 27.83 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.224e-05/0.3807, allocations: 40.61 kB / 0.5004 GB, free: 27.82 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.696e-05/0.3808, allocations: 25.05 kB / 0.5004 GB, free: 27.81 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.32e-05/0.3808, allocations: 26.31 kB / 0.5004 GB, free: 27.79 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001803/0.381, allocations: 125.4 kB / 0.5005 GB, free: 27.74 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.381, allocations: 0 / 0.5005 GB, free: 27.74 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.381, allocations: 0 / 0.5005 GB, free: 27.74 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.134e-05/0.381, allocations: 0 / 0.5005 GB, free: 27.74 MB / 446.1 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.0004953/0.3815, allocations: 350.8 kB / 0.5009 GB, free: 27.42 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.3815, allocations: 9.812 kB / 0.5009 GB, free: 27.42 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.363e-05/0.3816, allocations: 16.27 kB / 0.5009 GB, free: 27.41 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002341/0.3818, allocations: 150 kB / 0.501 GB, free: 27.26 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.799e-06/0.3818, allocations: 4.312 kB / 0.501 GB, free: 27.25 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.878e-05/0.3818, allocations: 14.92 kB / 0.5011 GB, free: 27.25 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001522/0.382, allocations: 53.78 kB / 0.5011 GB, free: 27.21 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.382, allocations: 4 kB / 0.5011 GB, free: 27.2 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.382, allocations: 0 / 0.5011 GB, free: 27.2 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.382, allocations: 3.219 kB / 0.5011 GB, free: 27.2 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.195e-05/0.3821, allocations: 20.39 kB / 0.5011 GB, free: 27.2 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003196/0.3824, allocations: 231.1 kB / 0.5013 GB, free: 26.98 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001716/0.3826, allocations: 59.02 kB / 0.5014 GB, free: 26.94 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.467e-05/0.3827, allocations: 21.97 kB / 0.5014 GB, free: 26.93 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.198e-05/0.3827, allocations: 0 / 0.5014 GB, free: 26.93 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001542/0.3828, allocations: 66.28 kB / 0.5015 GB, free: 26.88 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.643e-06/0.3828, allocations: 0 / 0.5015 GB, free: 26.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006228/0.3834, allocations: 185.7 kB / 0.5017 GB, free: 26.78 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.543e-05/0.3835, allocations: 54.66 kB / 0.5017 GB, free: 26.72 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001817/0.3837, allocations: 202.5 kB / 0.5019 GB, free: 26.59 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.338e-05/0.3837, allocations: 32.89 kB / 0.5019 GB, free: 26.55 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.409e-05/0.3837, allocations: 102.8 kB / 0.502 GB, free: 26.45 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.695e-05/0.3838, allocations: 33.47 kB / 0.5021 GB, free: 26.43 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.001e-05/0.3838, allocations: 20.09 kB / 0.5021 GB, free: 26.41 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.755e-05/0.3839, allocations: 332.3 kB / 0.5024 GB, free: 26.09 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.668e-05/0.3839, allocations: 18.02 kB / 0.5024 GB, free: 26.08 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.944e-05/0.384, allocations: 44 kB / 0.5025 GB, free: 26.05 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001129/0.3841, allocations: 61.45 kB / 0.5025 GB, free: 26.02 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/0.3841, allocations: 4 kB / 0.5025 GB, free: 26.01 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001798/0.3843, allocations: 110.2 kB / 0.5026 GB, free: 25.95 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.3843, allocations: 6.312 kB / 0.5026 GB, free: 25.95 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.3843, allocations: 0 / 0.5026 GB, free: 25.95 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.321e-05/0.3844, allocations: 3.312 kB / 0.5026 GB, free: 25.95 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.3845, allocations: 20.2 kB / 0.5027 GB, free: 25.94 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.3845, allocations: 0 / 0.5027 GB, free: 25.94 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.706e-05/0.3845, allocations: 3.625 kB / 0.5027 GB, free: 25.94 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.3845, allocations: 7.156 kB / 0.5027 GB, free: 25.94 MB / 446.1 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 9.147e-05/0.3846, allocations: 135.5 kB / 0.5028 GB, free: 25.81 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.16e-05/0.3846, allocations: 10.94 kB / 0.5028 GB, free: 25.8 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002506/0.3849, allocations: 128.1 kB / 0.5029 GB, free: 25.73 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.3849, allocations: 4 kB / 0.5029 GB, free: 25.72 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.3849, allocations: 0 / 0.5029 GB, free: 25.72 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.778e-06/0.3849, allocations: 0 / 0.5029 GB, free: 25.72 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003844/0.3853, allocations: 352.9 kB / 0.5033 GB, free: 25.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3853, allocations: 0 / 0.5033 GB, free: 25.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.709e-05/0.3853, allocations: 9.375 kB / 0.5033 GB, free: 25.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.3853, allocations: 3.25 kB / 0.5033 GB, free: 25.43 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.3853, allocations: 4.031 kB / 0.5033 GB, free: 25.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.3853, allocations: 0 / 0.5033 GB, free: 25.43 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.3853, allocations: 10.67 kB / 0.5033 GB, free: 25.43 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002047/0.3855, allocations: 210.4 kB / 0.5035 GB, free: 25.26 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.381e-05/0.3856, allocations: 14.62 kB / 0.5035 GB, free: 25.25 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.563e-05/0.3856, allocations: 0 / 0.5035 GB, free: 25.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.934e-05/0.3857, allocations: 3.094 kB / 0.5035 GB, free: 25.25 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.182e-05/0.3857, allocations: 10.22 kB / 0.5035 GB, free: 25.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.818e-05/0.3857, allocations: 7.156 kB / 0.5035 GB, free: 25.24 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001376/0.3859, allocations: 156 kB / 0.5037 GB, free: 25.14 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3859, allocations: 4 kB / 0.5037 GB, free: 25.14 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002861/0.3861, allocations: 26.53 kB / 0.5037 GB, free: 25.13 MB / 446.1 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.001909/0.3881, allocations: 0.491 MB / 0.5042 GB, free: 24.92 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001877/0.3882, allocations: 64.8 kB / 0.5043 GB, free: 24.9 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3882, allocations: 3.938 kB / 0.5043 GB, free: 24.89 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.473e-05/0.3883, allocations: 26.02 kB / 0.5043 GB, free: 24.89 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003576/0.3887, allocations: 30.88 kB / 0.5043 GB, free: 24.88 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004234/0.3891, allocations: 238.2 kB / 0.5045 GB, free: 24.7 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.834e-05/0.3892, allocations: 98.67 kB / 0.5046 GB, free: 24.62 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.39e-05/0.3892, allocations: 17.19 kB / 0.5047 GB, free: 24.62 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.181e-05/0.3892, allocations: 16.81 kB / 0.5047 GB, free: 24.61 MB / 446.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3892, allocations: 0 / 0.5047 GB, free: 24.61 MB / 446.1 MB Notification: Performance of Templates: time 0.004934/0.3942, allocations: 1.836 MB / 0.5065 GB, free: 24.36 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test34/Test34.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34.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: 5.017046976950951]