Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test63.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.002035/0.002035, allocations: 107 kB / 21.18 MB, free: 0.5078 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.002257/0.002257, allocations: 215.4 kB / 24.48 MB, free: 3.816 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.468/1.468, allocations: 230.6 MB / 258.2 MB, free: 7.773 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.2284/0.2284, allocations: 46.98 MB / 361.6 MB, free: 4 MB / 286.1 MB " [Timeout remaining time 180] 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.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test63") translateModel(ModelicaTest.Tables.CombiTimeTable.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test63") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002109/0.002109, allocations: 63.91 kB / 0.4974 GB, free: 7.121 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.312/0.3142, allocations: 66.03 MB / 0.5619 GB, free: 4.133 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.003197/0.3174, allocations: 1.667 MB / 0.5635 GB, free: 2.449 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001839/0.3192, allocations: 0.9521 MB / 0.5644 GB, free: 1.492 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.951e-05/0.3193, allocations: 0 / 0.5644 GB, free: 1.492 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003231/0.3196, allocations: 51.75 kB / 0.5645 GB, free: 1.441 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000438/0.32, allocations: 99.59 kB / 0.5646 GB, free: 1.344 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002751/0.3203, allocations: 79.67 kB / 0.5647 GB, free: 1.266 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002414/0.3205, allocations: 103.6 kB / 0.5648 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.465e-05/0.3206, allocations: 240 / 0.5648 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001103/0.3207, allocations: 43.78 kB / 0.5648 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001074/0.3208, allocations: 35.8 kB / 0.5648 GB, free: 1.086 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.492e-05/0.3208, allocations: 4 kB / 0.5648 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001186/0.3209, allocations: 35.98 kB / 0.5649 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.412e-05/0.321, allocations: 31.84 kB / 0.5649 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.857e-05/0.3211, allocations: 27.8 kB / 0.5649 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002713/0.3214, allocations: 125.8 kB / 0.565 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.3214, allocations: 4 kB / 0.565 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.3214, allocations: 0 / 0.565 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.3214, allocations: 0 / 0.565 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.0006161/0.322, allocations: 369.3 kB / 0.5654 GB, free: 488 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.322, allocations: 8.031 kB / 0.5654 GB, free: 480 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.389e-05/0.3221, allocations: 12.89 kB / 0.5654 GB, free: 468 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003474/0.3224, allocations: 167.2 kB / 0.5656 GB, free: 272 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.809e-05/0.3225, allocations: 4.375 kB / 0.5656 GB, free: 268 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.82e-05/0.3225, allocations: 8.125 kB / 0.5656 GB, free: 260 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001942/0.3227, allocations: 45.67 kB / 0.5656 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.3227, allocations: 4 kB / 0.5656 GB, free: 204 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.3227, allocations: 0 / 0.5656 GB, free: 204 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.3227, allocations: 0 / 0.5656 GB, free: 204 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000111/0.3228, allocations: 19.92 kB / 0.5657 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002551/0.3231, allocations: 133.3 kB / 0.5658 GB, free: 20 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002771/0.3233, allocations: 62.59 kB / 0.5658 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.916e-05/0.3234, allocations: 20.84 kB / 0.5659 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.467e-05/0.3234, allocations: 0 / 0.5659 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002027/0.3236, allocations: 71.33 kB / 0.5659 GB, free: 15.84 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.503e-06/0.3236, allocations: 0 / 0.5659 GB, free: 15.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004294/0.3241, allocations: 105.5 kB / 0.566 GB, free: 15.73 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.79e-05/0.3241, allocations: 55.41 kB / 0.5661 GB, free: 15.67 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004429/0.3246, allocations: 270.8 kB / 0.5663 GB, free: 15.39 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.564e-05/0.3246, allocations: 29.7 kB / 0.5664 GB, free: 15.36 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001144/0.3247, allocations: 116.1 kB / 0.5665 GB, free: 15.24 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.037e-05/0.3248, allocations: 15.91 kB / 0.5665 GB, free: 15.22 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.761e-05/0.3248, allocations: 21.7 kB / 0.5665 GB, free: 15.2 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001999/0.325, allocations: 326.8 kB / 0.5668 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.732e-05/0.3251, allocations: 15.98 kB / 0.5668 GB, free: 14.85 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.555e-05/0.3252, allocations: 37.62 kB / 0.5669 GB, free: 14.81 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001588/0.3253, allocations: 49.64 kB / 0.5669 GB, free: 14.75 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3253, allocations: 0 / 0.5669 GB, free: 14.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002648/0.3256, allocations: 93.77 kB / 0.567 GB, free: 14.66 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.3256, allocations: 15.97 kB / 0.567 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.3256, allocations: 0 / 0.567 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.3257, allocations: 0 / 0.567 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.3258, allocations: 12 kB / 0.567 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.3258, allocations: 4 kB / 0.567 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.161e-05/0.3259, allocations: 11.88 kB / 0.5671 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.509e-05/0.3259, allocations: 8 kB / 0.5671 GB, free: 14.61 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.0001581/0.326, allocations: 132.8 kB / 0.5672 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.794e-05/0.3261, allocations: 15.84 kB / 0.5672 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003393/0.3264, allocations: 110.7 kB / 0.5673 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.3264, allocations: 0 / 0.5673 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.3264, allocations: 0 / 0.5673 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.3264, allocations: 0 / 0.5673 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002013/0.3266, allocations: 145.3 kB / 0.5675 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-06/0.3266, allocations: 0 / 0.5675 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.991e-05/0.3267, allocations: 4 kB / 0.5675 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.93e-06/0.3267, allocations: 3.938 kB / 0.5675 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.252e-05/0.3267, allocations: 4 kB / 0.5675 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.3267, allocations: 0 / 0.5675 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3267, allocations: 0 / 0.5675 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000306/0.327, allocations: 125 kB / 0.5676 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.678e-05/0.327, allocations: 15.84 kB / 0.5676 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.507e-05/0.3271, allocations: 3.984 kB / 0.5676 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.412e-05/0.3271, allocations: 8 kB / 0.5676 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.19e-05/0.3272, allocations: 0 / 0.5676 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.425e-05/0.3272, allocations: 7.984 kB / 0.5676 GB, free: 13.97 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002989/0.3275, allocations: 200.6 kB / 0.5678 GB, free: 13.78 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3275, allocations: 0 / 0.5678 GB, free: 13.78 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004052/0.3279, allocations: 16 kB / 0.5678 GB, free: 13.76 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.002308/0.3302, allocations: 455.6 kB / 0.5683 GB, free: 13.49 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002495/0.3305, allocations: 47.92 kB / 0.5683 GB, free: 13.45 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.3305, allocations: 0 / 0.5683 GB, free: 13.45 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001005/0.3306, allocations: 19.98 kB / 0.5683 GB, free: 13.43 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004807/0.331, allocations: 25.61 kB / 0.5683 GB, free: 13.4 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007471/0.3318, allocations: 278.4 kB / 0.5686 GB, free: 13.11 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001578/0.3319, allocations: 105.8 kB / 0.5687 GB, free: 12.98 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.936e-05/0.332, allocations: 12.73 kB / 0.5687 GB, free: 12.97 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.254e-05/0.3321, allocations: 15.44 kB / 0.5687 GB, free: 12.96 MB / 414.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3321, allocations: 0 / 0.5687 GB, free: 12.96 MB / 414.1 MB Notification: Performance of Templates: time 0.007263/0.3393, allocations: 1.747 MB / 0.5704 GB, free: 11.24 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test63.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test63.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test63 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test63.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: 4.884940503005055]