Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001984/0.001984, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002367/0.002367, allocations: 213.6 kB / 23.73 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.524/1.524, allocations: 230.5 MB / 257.4 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2566/0.2566, allocations: 46.95 MB / 360.8 MB, free: 3.934 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6") translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002374/0.002374, allocations: 88.19 kB / 0.4967 GB, free: 6.984 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3648/0.3672, allocations: 66.09 MB / 0.5612 GB, free: 3.938 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.003388/0.3706, allocations: 1.706 MB / 0.5629 GB, free: 2.219 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00181/0.3724, allocations: 0.9748 MB / 0.5639 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.014e-05/0.3725, allocations: 0 / 0.5639 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000269/0.3727, allocations: 51.75 kB / 0.5639 GB, free: 1.188 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003012/0.3731, allocations: 103.6 kB / 0.564 GB, free: 1.086 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001866/0.3732, allocations: 79.67 kB / 0.5641 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001826/0.3734, allocations: 111.6 kB / 0.5642 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.947e-05/0.3735, allocations: 4 kB / 0.5642 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.38e-05/0.3736, allocations: 43.8 kB / 0.5642 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.992e-05/0.3737, allocations: 35.77 kB / 0.5643 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.818e-05/0.3737, allocations: 4 kB / 0.5643 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.563e-05/0.3738, allocations: 39.98 kB / 0.5643 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.964e-05/0.3739, allocations: 27.92 kB / 0.5643 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.658e-05/0.3739, allocations: 43.72 kB / 0.5644 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000242/0.3742, allocations: 149.7 kB / 0.5645 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.3742, allocations: 0 / 0.5645 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3742, allocations: 3.938 kB / 0.5645 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.68e-06/0.3742, allocations: 0 / 0.5645 GB, free: 0.5586 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000586/0.3748, allocations: 373.3 kB / 0.5649 GB, free: 168 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.166e-05/0.3748, allocations: 8.031 kB / 0.5649 GB, free: 160 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.048e-05/0.3748, allocations: 16.84 kB / 0.5649 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000297/0.3751, allocations: 174 kB / 0.5651 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/0.3751, allocations: 4.359 kB / 0.5651 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.199e-05/0.3752, allocations: 8.375 kB / 0.5651 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001495/0.3753, allocations: 61.92 kB / 0.5651 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.3753, allocations: 0 / 0.5651 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-06/0.3753, allocations: 0 / 0.5651 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.3753, allocations: 0 / 0.5651 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.016e-05/0.3754, allocations: 23.98 kB / 0.5652 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003705/0.3758, allocations: 244.5 kB / 0.5654 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001828/0.376, allocations: 62.55 kB / 0.5655 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.304e-05/0.376, allocations: 16.86 kB / 0.5655 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.575e-05/0.376, allocations: 8 kB / 0.5655 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001673/0.3762, allocations: 67.38 kB / 0.5655 GB, free: 15.4 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.3762, allocations: 0 / 0.5655 GB, free: 15.4 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005539/0.3768, allocations: 201.2 kB / 0.5657 GB, free: 15.2 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.574e-05/0.3768, allocations: 55.41 kB / 0.5658 GB, free: 15.13 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003035/0.3771, allocations: 285.3 kB / 0.5661 GB, free: 14.84 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.401e-05/0.3771, allocations: 29.7 kB / 0.5661 GB, free: 14.8 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.222e-05/0.3772, allocations: 120.1 kB / 0.5662 GB, free: 14.68 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.038e-05/0.3773, allocations: 19.86 kB / 0.5662 GB, free: 14.66 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.255e-05/0.3773, allocations: 29.7 kB / 0.5663 GB, free: 14.63 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.3774, allocations: 334.8 kB / 0.5666 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.155e-05/0.3775, allocations: 19.98 kB / 0.5666 GB, free: 14.27 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.989e-05/0.3776, allocations: 37.64 kB / 0.5666 GB, free: 14.23 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00012/0.3777, allocations: 61.7 kB / 0.5667 GB, free: 14.16 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.3777, allocations: 384 / 0.5667 GB, free: 14.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001997/0.3779, allocations: 113.5 kB / 0.5668 GB, free: 14.05 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.3779, allocations: 8 kB / 0.5668 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.3779, allocations: 0 / 0.5668 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.3779, allocations: 4.031 kB / 0.5668 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.874e-05/0.378, allocations: 20 kB / 0.5668 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.378, allocations: 192 / 0.5668 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.7e-05/0.3781, allocations: 3.984 kB / 0.5668 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.919e-06/0.3781, allocations: 7.938 kB / 0.5668 GB, free: 14 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 (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 0.0001205/0.3782, allocations: 144.2 kB / 0.567 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.804e-05/0.3782, allocations: 15.91 kB / 0.567 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002656/0.3785, allocations: 127 kB / 0.5671 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.3785, allocations: 0 / 0.5671 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.3785, allocations: 8 kB / 0.5671 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.3785, allocations: 0 / 0.5671 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004732/0.379, allocations: 366.8 kB / 0.5675 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.379, allocations: 0 / 0.5675 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.289e-05/0.379, allocations: 8 kB / 0.5675 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.379, allocations: 0 / 0.5675 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.379, allocations: 7.938 kB / 0.5675 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.379, allocations: 0 / 0.5675 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.379, allocations: 3.984 kB / 0.5675 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002703/0.3793, allocations: 228.1 kB / 0.5677 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.404e-05/0.3793, allocations: 15.94 kB / 0.5677 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.154e-05/0.3793, allocations: 0 / 0.5677 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.787e-05/0.3794, allocations: 7.984 kB / 0.5677 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.329e-05/0.3795, allocations: 11.94 kB / 0.5677 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.345e-05/0.3795, allocations: 3.984 kB / 0.5677 GB, free: 12.99 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000198/0.3797, allocations: 215.5 kB / 0.5679 GB, free: 12.78 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3797, allocations: 0 / 0.5679 GB, free: 12.78 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002716/0.3799, allocations: 27.98 kB / 0.568 GB, free: 12.75 MB / 414.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.001795/0.3817, allocations: 491.2 kB / 0.5684 GB, free: 12.44 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001982/0.3819, allocations: 59.95 kB / 0.5685 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.3819, allocations: 0 / 0.5685 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.108e-05/0.382, allocations: 35.86 kB / 0.5685 GB, free: 12.35 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005392/0.3826, allocations: 30.5 kB / 0.5686 GB, free: 12.32 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007101/0.3833, allocations: 311.6 kB / 0.5689 GB, free: 11.99 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001129/0.3834, allocations: 113 kB / 0.569 GB, free: 11.86 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.132e-05/0.3834, allocations: 20.91 kB / 0.569 GB, free: 11.84 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.916e-05/0.3835, allocations: 23.38 kB / 0.569 GB, free: 11.81 MB / 414.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3835, allocations: 0 / 0.569 GB, free: 11.81 MB / 414.1 MB Notification: Performance of Templates: time 0.00534/0.3888, allocations: 1.959 MB / 0.5709 GB, free: 9.875 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.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.27203525416553]