Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.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.001363/0.001363, allocations: 111 kB / 21.18 MB, free: 0.6758 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.001559/0.001559, allocations: 206.6 kB / 24.47 MB, free: 3.977 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.513/1.513, allocations: 230.6 MB / 258.2 MB, free: 7.785 MB / 206.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.2569/0.2569, allocations: 46.98 MB / 361.6 MB, free: 4.031 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.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001976/0.001976, allocations: 63.89 kB / 0.4974 GB, free: 7.145 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.401/0.403, allocations: 66.03 MB / 0.5619 GB, free: 4.148 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.003588/0.4066, allocations: 1.675 MB / 0.5635 GB, free: 2.457 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00197/0.4086, allocations: 0.947 MB / 0.5644 GB, free: 1.508 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.415e-05/0.4086, allocations: 3.938 kB / 0.5644 GB, free: 1.504 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003834/0.409, allocations: 67.78 kB / 0.5645 GB, free: 1.438 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003735/0.4094, allocations: 111.5 kB / 0.5646 GB, free: 1.328 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00019/0.4096, allocations: 67.73 kB / 0.5647 GB, free: 1.262 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001976/0.4098, allocations: 111.6 kB / 0.5648 GB, free: 1.152 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.633e-05/0.4098, allocations: 4.234 kB / 0.5648 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.03e-05/0.4099, allocations: 51.78 kB / 0.5648 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001185/0.4101, allocations: 47.81 kB / 0.5649 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2e-05/0.4101, allocations: 4 kB / 0.5649 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.706e-05/0.4102, allocations: 28 kB / 0.5649 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.139e-05/0.4102, allocations: 27.8 kB / 0.5649 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.925e-05/0.4103, allocations: 31.84 kB / 0.565 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002152/0.4105, allocations: 102 kB / 0.5651 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.4105, allocations: 0 / 0.5651 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.4105, allocations: 0 / 0.5651 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.144e-05/0.4105, allocations: 0 / 0.5651 GB, free: 0.8672 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006251/0.4112, allocations: 345.5 kB / 0.5654 GB, free: 0.5 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.4112, allocations: 12.03 kB / 0.5654 GB, free: 500 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.901e-05/0.4112, allocations: 12.84 kB / 0.5654 GB, free: 488 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002901/0.4115, allocations: 143.1 kB / 0.5655 GB, free: 320 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.4115, allocations: 4.375 kB / 0.5656 GB, free: 316 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.949e-05/0.4116, allocations: 8.125 kB / 0.5656 GB, free: 308 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001519/0.4117, allocations: 53.61 kB / 0.5656 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.4117, allocations: 0 / 0.5656 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.4117, allocations: 0 / 0.5656 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.4117, allocations: 0 / 0.5656 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.834e-05/0.4118, allocations: 23.97 kB / 0.5656 GB, free: 224 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000201/0.412, allocations: 129.3 kB / 0.5658 GB, free: 64 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001802/0.4122, allocations: 50.61 kB / 0.5658 GB, free: 4 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.958e-05/0.4123, allocations: 28.86 kB / 0.5658 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.6e-05/0.4123, allocations: 0 / 0.5658 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001761/0.4125, allocations: 71.33 kB / 0.5659 GB, free: 15.89 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.172e-06/0.4125, allocations: 0 / 0.5659 GB, free: 15.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003035/0.4128, allocations: 101.7 kB / 0.566 GB, free: 15.78 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.607e-05/0.4128, allocations: 51.41 kB / 0.566 GB, free: 15.72 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000233/0.4131, allocations: 206.2 kB / 0.5662 GB, free: 15.51 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.133e-05/0.4131, allocations: 25.7 kB / 0.5663 GB, free: 15.48 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.092e-05/0.4132, allocations: 104.1 kB / 0.5664 GB, free: 15.37 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.52e-05/0.4132, allocations: 15.81 kB / 0.5664 GB, free: 15.36 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.04e-05/0.4132, allocations: 21.72 kB / 0.5664 GB, free: 15.33 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000174/0.4134, allocations: 326.8 kB / 0.5667 GB, free: 15 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.465e-05/0.4135, allocations: 15.98 kB / 0.5667 GB, free: 14.99 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.405e-05/0.4135, allocations: 33.77 kB / 0.5668 GB, free: 14.95 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001041/0.4136, allocations: 41.7 kB / 0.5668 GB, free: 14.9 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.4137, allocations: 4 kB / 0.5668 GB, free: 14.9 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001672/0.4138, allocations: 93.41 kB / 0.5669 GB, free: 14.8 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.4138, allocations: 8 kB / 0.5669 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.4138, allocations: 4.031 kB / 0.5669 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.4139, allocations: 0 / 0.5669 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.258e-05/0.414, allocations: 11.98 kB / 0.5669 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.414, allocations: 4 kB / 0.5669 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.654e-05/0.414, allocations: 3.938 kB / 0.5669 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.527e-05/0.414, allocations: 4 kB / 0.5669 GB, free: 14.77 MB / 414.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 (7): * Single equations (assignments): 7 * 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.0001054/0.4141, allocations: 125.8 kB / 0.567 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.201e-05/0.4141, allocations: 11.89 kB / 0.5671 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002285/0.4144, allocations: 94.77 kB / 0.5672 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.4144, allocations: 0 / 0.5672 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.4144, allocations: 4 kB / 0.5672 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.4144, allocations: 7.984 kB / 0.5672 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001341/0.4145, allocations: 133.2 kB / 0.5673 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.4145, allocations: 0 / 0.5673 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.643e-05/0.4145, allocations: 4 kB / 0.5673 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.081e-06/0.4146, allocations: 7.875 kB / 0.5673 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.4146, allocations: 0 / 0.5673 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.069e-06/0.4146, allocations: 4 kB / 0.5673 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.4146, allocations: 128 / 0.5673 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002066/0.4148, allocations: 113.1 kB / 0.5674 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.514e-05/0.4148, allocations: 23.83 kB / 0.5674 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.064e-05/0.4148, allocations: 0 / 0.5674 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.231e-05/0.4149, allocations: 8 kB / 0.5674 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.249e-05/0.4149, allocations: 0 / 0.5674 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.94e-05/0.4149, allocations: 7.984 kB / 0.5675 GB, free: 14.16 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001438/0.4151, allocations: 152.2 kB / 0.5676 GB, free: 14.01 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4151, allocations: 4 kB / 0.5676 GB, free: 14 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002148/0.4153, allocations: 16 kB / 0.5676 GB, free: 13.99 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001618/0.4169, allocations: 453.1 kB / 0.568 GB, free: 13.72 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001857/0.4171, allocations: 47.98 kB / 0.5681 GB, free: 13.67 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.4171, allocations: 0 / 0.5681 GB, free: 13.67 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.922e-05/0.4172, allocations: 23.92 kB / 0.5681 GB, free: 13.65 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000274/0.4174, allocations: 27.72 kB / 0.5681 GB, free: 13.62 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004633/0.4179, allocations: 209.9 kB / 0.5683 GB, free: 13.39 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.289e-05/0.418, allocations: 93.25 kB / 0.5684 GB, free: 13.28 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.962e-05/0.418, allocations: 24.39 kB / 0.5685 GB, free: 13.26 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.219e-05/0.4181, allocations: 11.44 kB / 0.5685 GB, free: 13.25 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.4181, allocations: 0 / 0.5685 GB, free: 13.25 MB / 414.1 MB Notification: Performance of Templates: time 0.004912/0.423, allocations: 1.684 MB / 0.5701 GB, free: 11.59 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.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.3092617460060865]