Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.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.001767/0.001767, allocations: 73.33 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.001997/0.001997, allocations: 158.2 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.541/1.541, allocations: 177.2 MB / 204.9 MB, free: 9.004 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.2268/0.2268, allocations: 34.28 MB / 295.5 MB, free: 14.58 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.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84") translateModel(ModelicaTest.Tables.CombiTimeTable.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002104/0.002104, allocations: 75.88 kB / 443.2 MB, free: 6.625 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3553/0.3574, allocations: 66 MB / 0.4973 GB, free: 29.82 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.002414/0.3598, allocations: 1.717 MB / 0.499 GB, free: 28.64 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001807/0.3616, allocations: 1.662 MB / 0.5006 GB, free: 27.51 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.564e-05/0.3616, allocations: 3.219 kB / 0.5006 GB, free: 27.51 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001527/0.3618, allocations: 44.12 kB / 0.5006 GB, free: 27.48 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002358/0.362, allocations: 102.4 kB / 0.5007 GB, free: 27.43 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001388/0.3621, allocations: 80.72 kB / 0.5008 GB, free: 27.38 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001144/0.3623, allocations: 103.1 kB / 0.5009 GB, free: 27.33 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.508e-05/0.3623, allocations: 10.28 kB / 0.5009 GB, free: 27.33 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.71e-05/0.3624, allocations: 43.55 kB / 0.501 GB, free: 27.31 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.648e-05/0.3625, allocations: 46.03 kB / 0.501 GB, free: 27.29 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.426e-05/0.3625, allocations: 6.469 kB / 0.501 GB, free: 27.29 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001289/0.3626, allocations: 102.7 kB / 0.5011 GB, free: 27.25 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.113e-05/0.3627, allocations: 30.08 kB / 0.5011 GB, free: 27.23 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.283e-05/0.3627, allocations: 25.75 kB / 0.5012 GB, free: 27.22 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002003/0.3629, allocations: 165.5 kB / 0.5013 GB, free: 27.16 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.3629, allocations: 0 / 0.5013 GB, free: 27.16 MB / 446.1 MB Notification: Performance of FrontEnd: time 7.62e-07/0.3629, allocations: 3.125 kB / 0.5013 GB, free: 27.16 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.146e-06/0.3629, allocations: 3.938 kB / 0.5013 GB, free: 27.15 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.0003475/0.3633, allocations: 346.6 kB / 0.5017 GB, free: 26.83 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.386e-05/0.3633, allocations: 9.594 kB / 0.5017 GB, free: 26.83 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.335e-05/0.3633, allocations: 15.84 kB / 0.5017 GB, free: 26.82 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001808/0.3635, allocations: 157.5 kB / 0.5018 GB, free: 26.67 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.3635, allocations: 7.938 kB / 0.5018 GB, free: 26.66 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.022e-05/0.3635, allocations: 7.156 kB / 0.5018 GB, free: 26.66 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001285/0.3637, allocations: 94.86 kB / 0.5019 GB, free: 26.57 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.3637, allocations: 0 / 0.5019 GB, free: 26.57 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.794e-06/0.3637, allocations: 0 / 0.5019 GB, free: 26.57 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.266e-06/0.3637, allocations: 3.188 kB / 0.5019 GB, free: 26.57 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.891e-05/0.3637, allocations: 17.05 kB / 0.502 GB, free: 26.57 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002465/0.364, allocations: 236.2 kB / 0.5022 GB, free: 26.34 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001594/0.3641, allocations: 59.55 kB / 0.5022 GB, free: 26.3 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.324e-05/0.3642, allocations: 25.42 kB / 0.5023 GB, free: 26.29 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.208e-05/0.3642, allocations: 3.938 kB / 0.5023 GB, free: 26.29 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001353/0.3643, allocations: 69.56 kB / 0.5023 GB, free: 26.23 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.3643, allocations: 3.938 kB / 0.5023 GB, free: 26.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005603/0.3649, allocations: 178.1 kB / 0.5025 GB, free: 26.14 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.548e-05/0.3649, allocations: 77.11 kB / 0.5026 GB, free: 26.05 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000146/0.3651, allocations: 177.3 kB / 0.5028 GB, free: 25.92 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.487e-05/0.3651, allocations: 29.17 kB / 0.5028 GB, free: 25.89 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.329e-05/0.3651, allocations: 94.52 kB / 0.5029 GB, free: 25.8 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.002e-05/0.3652, allocations: 34.48 kB / 0.5029 GB, free: 25.77 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.465e-05/0.3652, allocations: 23.62 kB / 0.5029 GB, free: 25.75 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.819e-05/0.3653, allocations: 321.4 kB / 0.5032 GB, free: 25.43 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.61e-05/0.3653, allocations: 23.92 kB / 0.5033 GB, free: 25.42 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.811e-05/0.3654, allocations: 70.19 kB / 0.5033 GB, free: 25.36 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001085/0.3655, allocations: 71.5 kB / 0.5034 GB, free: 25.31 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.3655, allocations: 0 / 0.5034 GB, free: 25.31 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001708/0.3657, allocations: 96.19 kB / 0.5035 GB, free: 25.26 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.3657, allocations: 5.812 kB / 0.5035 GB, free: 25.26 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.3657, allocations: 4 kB / 0.5035 GB, free: 25.26 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.3657, allocations: 3.031 kB / 0.5035 GB, free: 25.26 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.944e-05/0.3658, allocations: 23.66 kB / 0.5035 GB, free: 25.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.3658, allocations: 0 / 0.5035 GB, free: 25.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.214e-05/0.3659, allocations: 10.94 kB / 0.5035 GB, free: 25.24 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.675e-06/0.3659, allocations: 3.281 kB / 0.5035 GB, free: 25.24 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 7.04e-05/0.366, allocations: 116.2 kB / 0.5036 GB, free: 25.12 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.532e-05/0.366, allocations: 14.06 kB / 0.5037 GB, free: 25.12 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002245/0.3662, allocations: 124.5 kB / 0.5038 GB, free: 25.05 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.3662, allocations: 4 kB / 0.5038 GB, free: 25.04 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.3662, allocations: 0 / 0.5038 GB, free: 25.04 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.3662, allocations: 3.938 kB / 0.5038 GB, free: 25.04 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003876/0.3666, allocations: 348.4 kB / 0.5041 GB, free: 24.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.3666, allocations: 0 / 0.5041 GB, free: 24.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.818e-05/0.3666, allocations: 12.5 kB / 0.5041 GB, free: 24.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.3666, allocations: 0 / 0.5041 GB, free: 24.75 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.3667, allocations: 7.062 kB / 0.5041 GB, free: 24.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.654e-06/0.3667, allocations: 0 / 0.5041 GB, free: 24.75 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.3667, allocations: 0 / 0.5041 GB, free: 24.75 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002211/0.3669, allocations: 225.3 kB / 0.5043 GB, free: 24.57 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.995e-05/0.3669, allocations: 13.41 kB / 0.5044 GB, free: 24.56 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.391e-05/0.3669, allocations: 7.312 kB / 0.5044 GB, free: 24.56 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.438e-05/0.367, allocations: 2.781 kB / 0.5044 GB, free: 24.56 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.119e-05/0.367, allocations: 14.12 kB / 0.5044 GB, free: 24.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.596e-05/0.3671, allocations: 5.438 kB / 0.5044 GB, free: 24.55 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.264e-05/0.3671, allocations: 131.4 kB / 0.5045 GB, free: 24.46 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3672, allocations: 0 / 0.5045 GB, free: 24.46 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002972/0.3674, allocations: 50.61 kB / 0.5046 GB, free: 24.45 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.001953/0.3694, allocations: 0.5817 MB / 0.5051 GB, free: 24.2 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001679/0.3696, allocations: 60.64 kB / 0.5052 GB, free: 24.18 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3696, allocations: 0 / 0.5052 GB, free: 24.18 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.416e-05/0.3696, allocations: 30.89 kB / 0.5052 GB, free: 24.17 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00033/0.37, allocations: 34.8 kB / 0.5052 GB, free: 24.16 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00035/0.3703, allocations: 208.1 kB / 0.5054 GB, free: 23.99 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.387e-05/0.3704, allocations: 88.94 kB / 0.5055 GB, free: 23.92 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.32e-05/0.3704, allocations: 17.83 kB / 0.5055 GB, free: 23.91 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.886e-05/0.3705, allocations: 20.59 kB / 0.5056 GB, free: 23.91 MB / 446.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3705, allocations: 4 kB / 0.5056 GB, free: 23.9 MB / 446.1 MB Notification: Performance of Templates: time 0.005045/0.3755, allocations: 2.484 MB / 0.508 GB, free: 23.58 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.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.120687838061713]