Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64.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.001285/0.001285, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001622/0.001622, allocations: 206 kB / 23.73 MB, free: 4.523 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.562/1.562, allocations: 230.6 MB / 257.5 MB, free: 7.781 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.2467/0.2467, allocations: 46.95 MB / 360.9 MB, free: 4.02 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.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64") translateModel(ModelicaTest.Tables.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002118/0.002118, allocations: 71.89 kB / 0.4966 GB, free: 7.145 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.405/0.4071, allocations: 66.04 MB / 0.5611 GB, free: 4.145 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.003784/0.4109, allocations: 1.674 MB / 0.5628 GB, free: 2.457 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001883/0.4128, allocations: 0.9482 MB / 0.5637 GB, free: 1.504 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.874e-05/0.4129, allocations: 3.938 kB / 0.5637 GB, free: 1.5 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003187/0.4132, allocations: 55.73 kB / 0.5638 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003406/0.4135, allocations: 99.59 kB / 0.5638 GB, free: 1.348 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001946/0.4137, allocations: 75.69 kB / 0.5639 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002017/0.4139, allocations: 103.6 kB / 0.564 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.887e-05/0.414, allocations: 4.219 kB / 0.564 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.138e-05/0.4141, allocations: 39.8 kB / 0.5641 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001014/0.4142, allocations: 35.84 kB / 0.5641 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.123e-05/0.4142, allocations: 4 kB / 0.5641 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.743e-05/0.4143, allocations: 35.98 kB / 0.5641 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.314e-05/0.4144, allocations: 31.84 kB / 0.5642 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.877e-05/0.4144, allocations: 27.75 kB / 0.5642 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002627/0.4147, allocations: 129.8 kB / 0.5643 GB, free: 0.875 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.4147, allocations: 0 / 0.5643 GB, free: 0.875 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.4147, allocations: 0 / 0.5643 GB, free: 0.875 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.404e-05/0.4147, allocations: 0 / 0.5643 GB, free: 0.875 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.0006986/0.4154, allocations: 369.4 kB / 0.5647 GB, free: 496 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.4154, allocations: 12.03 kB / 0.5647 GB, free: 484 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.299e-05/0.4155, allocations: 12.89 kB / 0.5647 GB, free: 472 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003421/0.4158, allocations: 159.2 kB / 0.5648 GB, free: 284 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/0.4159, allocations: 4.375 kB / 0.5648 GB, free: 280 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.933e-05/0.4159, allocations: 4.125 kB / 0.5648 GB, free: 276 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001665/0.416, allocations: 53.67 kB / 0.5649 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.4161, allocations: 0 / 0.5649 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.4161, allocations: 0 / 0.5649 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.4161, allocations: 3.938 kB / 0.5649 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.426e-05/0.4161, allocations: 15.98 kB / 0.5649 GB, free: 196 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002145/0.4164, allocations: 141.3 kB / 0.5651 GB, free: 24 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002099/0.4166, allocations: 50.67 kB / 0.5651 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.113e-05/0.4166, allocations: 20.8 kB / 0.5651 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.995e-05/0.4166, allocations: 0 / 0.5651 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001611/0.4168, allocations: 71.27 kB / 0.5652 GB, free: 15.86 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.223e-06/0.4168, allocations: 0 / 0.5652 GB, free: 15.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003451/0.4172, allocations: 105.6 kB / 0.5653 GB, free: 15.75 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.733e-05/0.4172, allocations: 55.41 kB / 0.5653 GB, free: 15.68 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003062/0.4175, allocations: 274.8 kB / 0.5656 GB, free: 15.4 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.146e-05/0.4175, allocations: 29.7 kB / 0.5656 GB, free: 15.37 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.712e-05/0.4176, allocations: 112.1 kB / 0.5657 GB, free: 15.25 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.659e-05/0.4177, allocations: 23.81 kB / 0.5658 GB, free: 15.23 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.276e-05/0.4177, allocations: 17.72 kB / 0.5658 GB, free: 15.21 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001693/0.4179, allocations: 330.8 kB / 0.5661 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.716e-05/0.4179, allocations: 15.98 kB / 0.5661 GB, free: 14.86 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.086e-05/0.418, allocations: 41.58 kB / 0.5662 GB, free: 14.81 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001115/0.4181, allocations: 41.95 kB / 0.5662 GB, free: 14.77 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.4181, allocations: 4 kB / 0.5662 GB, free: 14.76 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001778/0.4183, allocations: 97.47 kB / 0.5663 GB, free: 14.66 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.4183, allocations: 4 kB / 0.5663 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.4183, allocations: 0 / 0.5663 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.168e-05/0.4184, allocations: 0 / 0.5663 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.946e-05/0.4184, allocations: 15.98 kB / 0.5663 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.4185, allocations: 0 / 0.5663 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.447e-05/0.4185, allocations: 7.891 kB / 0.5663 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.758e-06/0.4185, allocations: 4 kB / 0.5663 GB, free: 14.63 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.0001297/0.4186, allocations: 141.8 kB / 0.5665 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.8e-05/0.4187, allocations: 15.84 kB / 0.5665 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002447/0.4189, allocations: 110.8 kB / 0.5666 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.4189, allocations: 0 / 0.5666 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.4189, allocations: 0 / 0.5666 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.4189, allocations: 0 / 0.5666 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001536/0.4191, allocations: 141.3 kB / 0.5667 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.4191, allocations: 0 / 0.5667 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.636e-05/0.4191, allocations: 4 kB / 0.5667 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.4191, allocations: 3.938 kB / 0.5667 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.4191, allocations: 8 kB / 0.5667 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.4191, allocations: 4 kB / 0.5667 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.4191, allocations: 3.984 kB / 0.5667 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002099/0.4193, allocations: 121 kB / 0.5668 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.596e-05/0.4194, allocations: 15.84 kB / 0.5669 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.246e-05/0.4194, allocations: 0 / 0.5669 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.133e-05/0.4194, allocations: 4.188 kB / 0.5669 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.902e-05/0.4195, allocations: 7.984 kB / 0.5669 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.818e-05/0.4195, allocations: 8 kB / 0.5669 GB, free: 13.98 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001905/0.4197, allocations: 204.6 kB / 0.5671 GB, free: 13.78 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4197, allocations: 0 / 0.5671 GB, free: 13.78 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002221/0.4199, allocations: 27.94 kB / 0.5671 GB, free: 13.75 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.001653/0.4216, allocations: 437.3 kB / 0.5675 GB, free: 13.5 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002251/0.4218, allocations: 47.92 kB / 0.5676 GB, free: 13.46 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4218, allocations: 0 / 0.5676 GB, free: 13.46 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.189e-05/0.4219, allocations: 19.98 kB / 0.5676 GB, free: 13.44 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003553/0.4222, allocations: 24.23 kB / 0.5676 GB, free: 13.41 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007464/0.423, allocations: 274.4 kB / 0.5679 GB, free: 13.12 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000145/0.4231, allocations: 113.7 kB / 0.568 GB, free: 12.99 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.144e-05/0.4232, allocations: 16.48 kB / 0.568 GB, free: 12.98 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.928e-05/0.4232, allocations: 15.44 kB / 0.568 GB, free: 12.96 MB / 414.1 MB Notification: Performance of SimCode: time 8.31e-07/0.4232, allocations: 0 / 0.568 GB, free: 12.96 MB / 414.1 MB Notification: Performance of Templates: time 0.005661/0.4289, allocations: 1.74 MB / 0.5697 GB, free: 11.25 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64.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.339518362190574]