Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.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.001302/0.001302, allocations: 107 kB / 21.18 MB, free: 0.6484 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.001496/0.001496, allocations: 216.4 kB / 24.48 MB, free: 3.941 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.469/1.469, allocations: 230.6 MB / 258.2 MB, free: 7.797 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.2306/0.2306, allocations: 46.96 MB / 361.6 MB, free: 4.047 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.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002051/0.002051, allocations: 72.08 kB / 0.4974 GB, free: 7.145 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3517/0.3537, allocations: 66.03 MB / 0.5619 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.003437/0.3572, allocations: 1.725 MB / 0.5636 GB, free: 2.426 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001877/0.359, allocations: 0.9861 MB / 0.5645 GB, free: 1.438 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.939e-05/0.3591, allocations: 4 kB / 0.5645 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003525/0.3595, allocations: 83.7 kB / 0.5646 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000391/0.3599, allocations: 119.6 kB / 0.5647 GB, free: 1.234 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002233/0.3601, allocations: 83.66 kB / 0.5648 GB, free: 1.152 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002177/0.3603, allocations: 123.6 kB / 0.5649 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.3604, allocations: 19.95 kB / 0.5649 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.832e-05/0.3605, allocations: 51.78 kB / 0.565 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001273/0.3606, allocations: 75.73 kB / 0.5651 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.973e-05/0.3607, allocations: 4 kB / 0.5651 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001267/0.3608, allocations: 63.97 kB / 0.5651 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.61e-05/0.3609, allocations: 27.91 kB / 0.5652 GB, free: 0.793 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.25e-05/0.3609, allocations: 35.69 kB / 0.5652 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002547/0.3612, allocations: 149.9 kB / 0.5653 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.3612, allocations: 4 kB / 0.5653 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.3612, allocations: 0 / 0.5653 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.022e-06/0.3612, allocations: 0 / 0.5653 GB, free: 0.6133 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006017/0.3618, allocations: 373.3 kB / 0.5657 GB, free: 224 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.3618, allocations: 8.031 kB / 0.5657 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.975e-05/0.3619, allocations: 16.84 kB / 0.5657 GB, free: 200 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002941/0.3622, allocations: 159.1 kB / 0.5659 GB, free: 12 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.702e-05/0.3622, allocations: 4.375 kB / 0.5659 GB, free: 8 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.498e-05/0.3622, allocations: 8.062 kB / 0.5659 GB, free: 0 / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001699/0.3624, allocations: 65.64 kB / 0.5659 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.3624, allocations: 0 / 0.5659 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.3624, allocations: 8 kB / 0.566 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.3624, allocations: 0 / 0.566 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.646e-05/0.3625, allocations: 19.98 kB / 0.566 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004296/0.363, allocations: 252.4 kB / 0.5662 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002707/0.3632, allocations: 62.48 kB / 0.5663 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.963e-05/0.3633, allocations: 24.97 kB / 0.5663 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.62e-05/0.3633, allocations: 0 / 0.5663 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001625/0.3635, allocations: 67.39 kB / 0.5664 GB, free: 15.45 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.443e-06/0.3635, allocations: 0 / 0.5664 GB, free: 15.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008535/0.3643, allocations: 253.3 kB / 0.5666 GB, free: 15.2 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.224e-05/0.3644, allocations: 63.28 kB / 0.5667 GB, free: 15.12 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002669/0.3647, allocations: 242.9 kB / 0.5669 GB, free: 14.87 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.197e-05/0.3647, allocations: 29.7 kB / 0.5669 GB, free: 14.84 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.625e-05/0.3648, allocations: 120 kB / 0.567 GB, free: 14.71 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.215e-05/0.3648, allocations: 31.73 kB / 0.5671 GB, free: 14.68 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.342e-05/0.3649, allocations: 29.7 kB / 0.5671 GB, free: 14.65 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.365, allocations: 322.8 kB / 0.5674 GB, free: 14.32 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.771e-05/0.3651, allocations: 31.98 kB / 0.5674 GB, free: 14.29 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.614e-05/0.3652, allocations: 49.08 kB / 0.5675 GB, free: 14.24 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001598/0.3653, allocations: 81.75 kB / 0.5676 GB, free: 14.16 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.3653, allocations: 0 / 0.5676 GB, free: 14.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002599/0.3656, allocations: 141.5 kB / 0.5677 GB, free: 14.01 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.3656, allocations: 4 kB / 0.5677 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.3656, allocations: 0 / 0.5677 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.3656, allocations: 4 kB / 0.5677 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.463e-05/0.3657, allocations: 23.92 kB / 0.5677 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.3657, allocations: 0 / 0.5677 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.742e-05/0.3658, allocations: 11.94 kB / 0.5677 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.3658, allocations: 4 kB / 0.5677 GB, free: 13.96 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 (13): * Single equations (assignments): 13 * 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.000121/0.3659, allocations: 129.8 kB / 0.5679 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.274e-05/0.366, allocations: 19.94 kB / 0.5679 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003431/0.3663, allocations: 159.6 kB / 0.568 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.3663, allocations: 4 kB / 0.568 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.3663, allocations: 0 / 0.568 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.072e-05/0.3663, allocations: 11.92 kB / 0.5681 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005608/0.3669, allocations: 391.8 kB / 0.5684 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.3669, allocations: 0 / 0.5684 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.502e-05/0.3669, allocations: 15.98 kB / 0.5684 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.005e-06/0.3669, allocations: 7.938 kB / 0.5684 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.367, allocations: 8.062 kB / 0.5685 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.13e-06/0.367, allocations: 4 kB / 0.5685 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.367, allocations: 0 / 0.5685 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003192/0.3673, allocations: 245 kB / 0.5687 GB, free: 12.9 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.212e-05/0.3673, allocations: 15.89 kB / 0.5687 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.039e-05/0.3674, allocations: 8.031 kB / 0.5687 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.494e-05/0.3674, allocations: 11.94 kB / 0.5687 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.025e-05/0.3675, allocations: 7.984 kB / 0.5687 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.287e-05/0.3675, allocations: 7.984 kB / 0.5687 GB, free: 12.85 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000167/0.3677, allocations: 175.2 kB / 0.5689 GB, free: 12.68 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3677, allocations: 4 kB / 0.5689 GB, free: 12.68 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002961/0.368, allocations: 31.92 kB / 0.5689 GB, free: 12.64 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.002155/0.3701, allocations: 0.5447 MB / 0.5695 GB, free: 12.34 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002386/0.3704, allocations: 83.78 kB / 0.5696 GB, free: 12.26 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3704, allocations: 0 / 0.5696 GB, free: 12.26 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001025/0.3705, allocations: 43.91 kB / 0.5696 GB, free: 12.21 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003793/0.3708, allocations: 34.52 kB / 0.5696 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006209/0.3715, allocations: 296.4 kB / 0.5699 GB, free: 11.86 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001133/0.3716, allocations: 97.77 kB / 0.57 GB, free: 11.74 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.501e-05/0.3716, allocations: 20.62 kB / 0.57 GB, free: 11.72 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.709e-05/0.3717, allocations: 23.44 kB / 0.57 GB, free: 11.7 MB / 414.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3717, allocations: 0 / 0.57 GB, free: 11.7 MB / 414.1 MB Notification: Performance of Templates: time 0.005935/0.3776, allocations: 2.205 MB / 0.5722 GB, free: 9.527 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.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.092873495988897]