Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.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.001899/0.001899, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002235/0.002235, allocations: 211.5 kB / 24.48 MB, free: 3.938 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.571/1.571, allocations: 230.6 MB / 258.2 MB, free: 7.793 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.2395/0.2395, allocations: 46.97 MB / 361.6 MB, free: 4.016 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.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56") translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002121/0.002121, allocations: 63.89 kB / 0.4974 GB, free: 7.125 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3054/0.3076, allocations: 66.04 MB / 0.5619 GB, free: 4.121 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.003307/0.3109, allocations: 1.702 MB / 0.5635 GB, free: 2.402 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002751/0.3136, allocations: 1.661 MB / 0.5652 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.413e-05/0.3137, allocations: 8 kB / 0.5652 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002901/0.314, allocations: 31.77 kB / 0.5652 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003658/0.3144, allocations: 107.5 kB / 0.5653 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001984/0.3146, allocations: 79.66 kB / 0.5654 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001963/0.3147, allocations: 107.7 kB / 0.5655 GB, free: 416 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.3149, allocations: 11.98 kB / 0.5655 GB, free: 404 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.516e-05/0.315, allocations: 47.78 kB / 0.5655 GB, free: 356 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001335/0.3151, allocations: 43.7 kB / 0.5656 GB, free: 312 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.145e-05/0.3151, allocations: 4 kB / 0.5656 GB, free: 308 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000196/0.3153, allocations: 103.9 kB / 0.5657 GB, free: 204 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.073e-05/0.3154, allocations: 23.92 kB / 0.5657 GB, free: 180 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.624e-05/0.3154, allocations: 23.81 kB / 0.5657 GB, free: 156 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003228/0.3157, allocations: 173.8 kB / 0.5659 GB, free: 15.98 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3157, allocations: 0 / 0.5659 GB, free: 15.98 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3157, allocations: 0 / 0.5659 GB, free: 15.98 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.3157, allocations: 3.938 kB / 0.5659 GB, free: 15.98 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005854/0.3163, allocations: 345.5 kB / 0.5662 GB, free: 15.61 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.3164, allocations: 12.02 kB / 0.5662 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.121e-05/0.3164, allocations: 16.84 kB / 0.5663 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002965/0.3167, allocations: 158 kB / 0.5664 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/0.3167, allocations: 7.938 kB / 0.5664 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.608e-05/0.3168, allocations: 4 kB / 0.5664 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002131/0.317, allocations: 97.09 kB / 0.5665 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.142e-05/0.317, allocations: 0 / 0.5665 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.593e-05/0.317, allocations: 3.984 kB / 0.5665 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.317, allocations: 0 / 0.5665 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.817e-05/0.3171, allocations: 19.98 kB / 0.5665 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003718/0.3175, allocations: 240.4 kB / 0.5668 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001766/0.3176, allocations: 50.69 kB / 0.5668 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.563e-05/0.3177, allocations: 24.84 kB / 0.5668 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.619e-05/0.3177, allocations: 7.938 kB / 0.5668 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001498/0.3179, allocations: 63.39 kB / 0.5669 GB, free: 14.83 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.493e-06/0.3179, allocations: 3.938 kB / 0.5669 GB, free: 14.83 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005614/0.3184, allocations: 185.3 kB / 0.5671 GB, free: 14.64 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.682e-05/0.3185, allocations: 81.11 kB / 0.5672 GB, free: 14.54 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002016/0.3187, allocations: 176 kB / 0.5673 GB, free: 14.36 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.342e-05/0.3187, allocations: 29.7 kB / 0.5674 GB, free: 14.32 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.313e-05/0.3188, allocations: 100.1 kB / 0.5675 GB, free: 14.22 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.72e-05/0.3188, allocations: 27.75 kB / 0.5675 GB, free: 14.2 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.617e-05/0.3189, allocations: 25.7 kB / 0.5675 GB, free: 14.16 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001792/0.319, allocations: 322.8 kB / 0.5678 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.059e-05/0.3191, allocations: 19.98 kB / 0.5678 GB, free: 13.82 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.469e-05/0.3192, allocations: 72.27 kB / 0.5679 GB, free: 13.73 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001363/0.3193, allocations: 57.64 kB / 0.568 GB, free: 13.67 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.3193, allocations: 0 / 0.568 GB, free: 13.67 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001978/0.3195, allocations: 101.6 kB / 0.5681 GB, free: 13.57 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.3195, allocations: 12.06 kB / 0.5681 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.3195, allocations: 0 / 0.5681 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.3196, allocations: 0 / 0.5681 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.822e-05/0.3197, allocations: 19.92 kB / 0.5681 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.3197, allocations: 4 kB / 0.5681 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.912e-05/0.3197, allocations: 4.312 kB / 0.5681 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.185e-05/0.3197, allocations: 8 kB / 0.5681 GB, free: 13.52 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.0001136/0.3198, allocations: 120.7 kB / 0.5682 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.629e-05/0.3199, allocations: 11.94 kB / 0.5682 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002773/0.3201, allocations: 122.3 kB / 0.5683 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.3201, allocations: 4 kB / 0.5684 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.3201, allocations: 288 / 0.5684 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.3201, allocations: 3.938 kB / 0.5684 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004874/0.3206, allocations: 350.9 kB / 0.5687 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3206, allocations: 3.938 kB / 0.5687 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.882e-05/0.3207, allocations: 8 kB / 0.5687 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-05/0.3207, allocations: 7.984 kB / 0.5687 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/0.3207, allocations: 7.938 kB / 0.5687 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.3207, allocations: 0 / 0.5687 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.3207, allocations: 12.02 kB / 0.5687 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002733/0.321, allocations: 208.2 kB / 0.5689 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.297e-05/0.321, allocations: 11.91 kB / 0.5689 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.483e-05/0.321, allocations: 11.94 kB / 0.5689 GB, free: 12.58 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.823e-05/0.3211, allocations: 3.984 kB / 0.569 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.711e-05/0.3212, allocations: 7.938 kB / 0.569 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.971e-05/0.3212, allocations: 11.98 kB / 0.569 GB, free: 12.55 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001318/0.3213, allocations: 130.9 kB / 0.5691 GB, free: 12.43 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3213, allocations: 0 / 0.5691 GB, free: 12.43 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003047/0.3216, allocations: 47.86 kB / 0.5691 GB, free: 12.38 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.00212/0.3237, allocations: 0.5831 MB / 0.5697 GB, free: 12.04 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002024/0.3239, allocations: 55.92 kB / 0.5698 GB, free: 11.99 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.3239, allocations: 3.938 kB / 0.5698 GB, free: 11.98 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.471e-05/0.324, allocations: 32.05 kB / 0.5698 GB, free: 11.95 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003518/0.3244, allocations: 41.8 kB / 0.5698 GB, free: 11.92 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005308/0.3249, allocations: 236.4 kB / 0.5701 GB, free: 11.65 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001016/0.325, allocations: 85.31 kB / 0.5701 GB, free: 11.55 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.35e-05/0.3251, allocations: 15.44 kB / 0.5702 GB, free: 11.53 MB / 414.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3251, allocations: 0 / 0.5702 GB, free: 11.53 MB / 414.1 MB Notification: Performance of Templates: time 0.004834/0.3299, allocations: 2.432 MB / 0.5725 GB, free: 9.102 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.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: 8.427781396079808]