Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.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.001331/0.001331, 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.001495/0.001495, allocations: 214.7 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.492/1.492, allocations: 230.6 MB / 258.2 MB, free: 7.758 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.2303/0.2303, allocations: 46.97 MB / 361.6 MB, free: 3.988 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.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00206/0.00206, allocations: 71.89 kB / 0.4974 GB, free: 7.09 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3006/0.3027, allocations: 66.03 MB / 0.5619 GB, free: 4.102 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.003491/0.3062, allocations: 1.874 MB / 0.5637 GB, free: 2.211 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002616/0.3088, allocations: 1.069 MB / 0.5648 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001023/0.3089, allocations: 7.938 kB / 0.5648 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005084/0.3094, allocations: 163.5 kB / 0.5649 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004619/0.3098, allocations: 187.2 kB / 0.5651 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003129/0.3102, allocations: 115.7 kB / 0.5652 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003277/0.3105, allocations: 251.2 kB / 0.5655 GB, free: 436 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001277/0.3106, allocations: 17.97 kB / 0.5655 GB, free: 416 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001548/0.3108, allocations: 115.5 kB / 0.5656 GB, free: 300 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001971/0.311, allocations: 143.5 kB / 0.5657 GB, free: 156 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.812e-05/0.311, allocations: 12 kB / 0.5657 GB, free: 144 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001299/0.3111, allocations: 63.92 kB / 0.5658 GB, free: 80 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.134e-05/0.3112, allocations: 59.75 kB / 0.5658 GB, free: 20 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.033e-05/0.3113, allocations: 59.67 kB / 0.5659 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000331/0.3116, allocations: 233.3 kB / 0.5661 GB, free: 15.73 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.3116, allocations: 0 / 0.5661 GB, free: 15.73 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.3116, allocations: 4 kB / 0.5661 GB, free: 15.73 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.3116, allocations: 0 / 0.5661 GB, free: 15.73 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007477/0.3124, allocations: 476.6 kB / 0.5666 GB, free: 15.23 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.087e-05/0.3124, allocations: 12.03 kB / 0.5666 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.55e-05/0.3125, allocations: 32.75 kB / 0.5666 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004001/0.3129, allocations: 214.5 kB / 0.5668 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2e-05/0.3129, allocations: 8.359 kB / 0.5668 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.181e-05/0.3129, allocations: 12.12 kB / 0.5668 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002653/0.3132, allocations: 114.2 kB / 0.567 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.3132, allocations: 0 / 0.567 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.3132, allocations: 0 / 0.567 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/0.3132, allocations: 4 kB / 0.567 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001486/0.3134, allocations: 55.83 kB / 0.567 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006603/0.3141, allocations: 408.5 kB / 0.5674 GB, free: 14.33 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000423/0.3145, allocations: 121.2 kB / 0.5675 GB, free: 14.19 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001112/0.3146, allocations: 45.77 kB / 0.5676 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.715e-05/0.3146, allocations: 4 kB / 0.5676 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002504/0.3149, allocations: 128.5 kB / 0.5677 GB, free: 14 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.352e-06/0.3149, allocations: 0 / 0.5677 GB, free: 14 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001429/0.3163, allocations: 0.5046 MB / 0.5682 GB, free: 13.49 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.779e-05/0.3164, allocations: 85.05 kB / 0.5683 GB, free: 13.39 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004902/0.3168, allocations: 384.5 kB / 0.5686 GB, free: 13 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.85e-05/0.3169, allocations: 33.7 kB / 0.5687 GB, free: 12.96 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000122/0.317, allocations: 144.5 kB / 0.5688 GB, free: 12.81 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.478e-05/0.3171, allocations: 75.38 kB / 0.5689 GB, free: 12.73 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.433e-05/0.3171, allocations: 49.64 kB / 0.5689 GB, free: 12.68 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002118/0.3174, allocations: 342.8 kB / 0.5692 GB, free: 12.34 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001409/0.3175, allocations: 63.97 kB / 0.5693 GB, free: 12.27 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001795/0.3177, allocations: 87.41 kB / 0.5694 GB, free: 12.18 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003113/0.318, allocations: 167.5 kB / 0.5696 GB, free: 12 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.318, allocations: 0 / 0.5696 GB, free: 12 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004497/0.3184, allocations: 241.3 kB / 0.5698 GB, free: 11.76 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.3185, allocations: 4 kB / 0.5698 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.3185, allocations: 12 kB / 0.5698 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.3185, allocations: 0 / 0.5698 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000162/0.3186, allocations: 43.92 kB / 0.5698 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.3186, allocations: 0 / 0.5698 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.819e-05/0.3187, allocations: 11.98 kB / 0.5698 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.84e-05/0.3188, allocations: 9.172 kB / 0.5699 GB, free: 11.68 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001791/0.3189, allocations: 158.3 kB / 0.57 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.434e-05/0.319, allocations: 31.81 kB / 0.57 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000639/0.3196, allocations: 279.6 kB / 0.5703 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.3196, allocations: 11.94 kB / 0.5703 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.3196, allocations: 0 / 0.5703 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.3196, allocations: 3.984 kB / 0.5703 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00101/0.3207, allocations: 0.6606 MB / 0.571 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.129e-06/0.3207, allocations: 4.094 kB / 0.571 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.845e-05/0.3208, allocations: 31.92 kB / 0.571 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.3208, allocations: 4 kB / 0.571 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.164e-05/0.3208, allocations: 12.11 kB / 0.571 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/0.3208, allocations: 7.938 kB / 0.571 GB, free: 10.42 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.3208, allocations: 4 kB / 0.571 GB, free: 10.42 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005683/0.3214, allocations: 439.4 kB / 0.5714 GB, free: 9.961 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.083e-05/0.3214, allocations: 23.86 kB / 0.5715 GB, free: 9.938 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.33e-05/0.3215, allocations: 11.98 kB / 0.5715 GB, free: 9.926 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001468/0.3216, allocations: 4 kB / 0.5715 GB, free: 9.922 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.231e-05/0.3217, allocations: 27.84 kB / 0.5715 GB, free: 9.895 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.774e-05/0.3217, allocations: 8 kB / 0.5715 GB, free: 9.887 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003063/0.322, allocations: 291 kB / 0.5718 GB, free: 9.602 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.322, allocations: 4 kB / 0.5718 GB, free: 9.598 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003761/0.3224, allocations: 55.88 kB / 0.5719 GB, free: 9.543 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002183/0.3246, allocations: 0.5484 MB / 0.5724 GB, free: 9.23 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004302/0.325, allocations: 159.8 kB / 0.5725 GB, free: 9.074 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.325, allocations: 0 / 0.5725 GB, free: 9.074 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001844/0.3252, allocations: 88.2 kB / 0.5726 GB, free: 8.988 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006167/0.3258, allocations: 65.73 kB / 0.5727 GB, free: 8.934 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001019/0.3268, allocations: 0.5119 MB / 0.5732 GB, free: 8.375 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001802/0.327, allocations: 157.5 kB / 0.5733 GB, free: 8.203 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001097/0.3271, allocations: 37.92 kB / 0.5734 GB, free: 8.164 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.093e-05/0.3272, allocations: 23.44 kB / 0.5734 GB, free: 8.141 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3272, allocations: 384 / 0.5734 GB, free: 8.141 MB / 414.1 MB Notification: Performance of Templates: time 0.008132/0.3353, allocations: 3.542 MB / 0.5769 GB, free: 4.648 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.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.005275310992147]