Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.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.001258/0.001258, allocations: 111 kB / 21.18 MB, free: 0.6758 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.001513/0.001513, allocations: 206.6 kB / 24.47 MB, free: 3.977 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.506/1.506, allocations: 230.6 MB / 258.3 MB, free: 7.785 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.2309/0.2309, allocations: 46.95 MB / 361.6 MB, free: 4.027 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.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68") translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002098/0.002098, allocations: 71.83 kB / 0.4974 GB, free: 7.148 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3133/0.3154, allocations: 66.03 MB / 0.5619 GB, free: 4.148 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.003358/0.3188, allocations: 1.788 MB / 0.5636 GB, free: 2.344 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001948/0.3207, allocations: 1.045 MB / 0.5646 GB, free: 1.297 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.083e-05/0.3208, allocations: 0 / 0.5646 GB, free: 1.297 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005506/0.3214, allocations: 307.2 kB / 0.5649 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005045/0.3219, allocations: 259.2 kB / 0.5652 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002588/0.3221, allocations: 107.7 kB / 0.5653 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000345/0.3225, allocations: 263.3 kB / 0.5655 GB, free: 388 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.89e-05/0.3225, allocations: 5.812 kB / 0.5655 GB, free: 380 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001703/0.3227, allocations: 131.5 kB / 0.5657 GB, free: 248 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002667/0.323, allocations: 211.9 kB / 0.5659 GB, free: 36 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.775e-05/0.323, allocations: 8 kB / 0.5659 GB, free: 28 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001297/0.3231, allocations: 48.03 kB / 0.5659 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000154/0.3233, allocations: 144.4 kB / 0.566 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001215/0.3234, allocations: 107.1 kB / 0.5661 GB, free: 15.73 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004497/0.3238, allocations: 376.6 kB / 0.5665 GB, free: 15.37 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.3238, allocations: 4 kB / 0.5665 GB, free: 15.37 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.3238, allocations: 0 / 0.5665 GB, free: 15.37 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.3239, allocations: 0 / 0.5665 GB, free: 15.37 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001068/0.3249, allocations: 0.6708 MB / 0.5672 GB, free: 14.66 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.325, allocations: 12.03 kB / 0.5672 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.971e-05/0.3251, allocations: 48.61 kB / 0.5672 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006724/0.3257, allocations: 390.5 kB / 0.5676 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.3257, allocations: 4.312 kB / 0.5676 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.195e-05/0.3258, allocations: 16.05 kB / 0.5676 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002307/0.326, allocations: 91.28 kB / 0.5677 GB, free: 14.08 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.326, allocations: 4 kB / 0.5677 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.525e-05/0.326, allocations: 3.984 kB / 0.5677 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-06/0.326, allocations: 0 / 0.5677 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001272/0.3262, allocations: 31.98 kB / 0.5677 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004003/0.3266, allocations: 306.1 kB / 0.568 GB, free: 13.71 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000308/0.3269, allocations: 105.2 kB / 0.5681 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001112/0.327, allocations: 45.67 kB / 0.5682 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.866e-05/0.327, allocations: 4 kB / 0.5682 GB, free: 13.53 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002559/0.3273, allocations: 113 kB / 0.5683 GB, free: 13.4 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.402e-06/0.3273, allocations: 0 / 0.5683 GB, free: 13.4 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005511/0.3278, allocations: 213.2 kB / 0.5685 GB, free: 13.19 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.994e-05/0.3279, allocations: 81.11 kB / 0.5686 GB, free: 13.09 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001233/0.3291, allocations: 1.034 MB / 0.5696 GB, free: 12.04 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.098e-05/0.3291, allocations: 25.7 kB / 0.5696 GB, free: 12.01 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002015/0.3293, allocations: 236.1 kB / 0.5698 GB, free: 11.78 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.765e-05/0.3294, allocations: 27.78 kB / 0.5699 GB, free: 11.75 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.171e-05/0.3294, allocations: 25.72 kB / 0.5699 GB, free: 11.72 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001995/0.3296, allocations: 370.8 kB / 0.5702 GB, free: 11.35 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.644e-05/0.3297, allocations: 31.97 kB / 0.5703 GB, free: 11.32 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001111/0.3298, allocations: 59.92 kB / 0.5703 GB, free: 11.25 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002098/0.33, allocations: 103.3 kB / 0.5704 GB, free: 11.13 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.33, allocations: 0 / 0.5704 GB, free: 11.13 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000338/0.3304, allocations: 185.1 kB / 0.5706 GB, free: 10.95 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.3304, allocations: 4 kB / 0.5706 GB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.3304, allocations: 4 kB / 0.5706 GB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.3304, allocations: 0 / 0.5706 GB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001226/0.3305, allocations: 19.98 kB / 0.5706 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.3305, allocations: 4 kB / 0.5706 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001189/0.3307, allocations: 15.95 kB / 0.5706 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.289e-05/0.3307, allocations: 4 kB / 0.5706 GB, free: 10.89 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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002361/0.3309, allocations: 225.7 kB / 0.5709 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.318e-05/0.331, allocations: 51.61 kB / 0.5709 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004496/0.3314, allocations: 201.8 kB / 0.5711 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.443e-06/0.3314, allocations: 7.938 kB / 0.5711 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.3314, allocations: 3.938 kB / 0.5711 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.3315, allocations: 3.984 kB / 0.5711 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003112/0.3318, allocations: 261.4 kB / 0.5714 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.3318, allocations: 8 kB / 0.5714 GB, free: 10.1 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.981e-05/0.3318, allocations: 12 kB / 0.5714 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.971e-06/0.3318, allocations: 7.922 kB / 0.5714 GB, free: 10.08 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.331e-05/0.3318, allocations: 4 kB / 0.5714 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.459e-06/0.3318, allocations: 4 kB / 0.5714 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3318, allocations: 0 / 0.5714 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003941/0.3322, allocations: 221.4 kB / 0.5716 GB, free: 9.832 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001526/0.3324, allocations: 71.53 kB / 0.5717 GB, free: 9.762 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.039e-05/0.3324, allocations: 4 kB / 0.5717 GB, free: 9.758 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.3325, allocations: 8 kB / 0.5717 GB, free: 9.75 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.497e-05/0.3326, allocations: 11.98 kB / 0.5717 GB, free: 9.738 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-05/0.3326, allocations: 7.984 kB / 0.5717 GB, free: 9.73 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008925/0.3335, allocations: 0.7682 MB / 0.5725 GB, free: 8.965 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3335, allocations: 3.938 kB / 0.5725 GB, free: 8.961 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002804/0.3338, allocations: 47.98 kB / 0.5725 GB, free: 8.914 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.001639/0.3354, allocations: 436.7 kB / 0.5729 GB, free: 8.664 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002838/0.3357, allocations: 91.89 kB / 0.573 GB, free: 8.574 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3357, allocations: 4.062 kB / 0.573 GB, free: 8.57 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001202/0.3358, allocations: 39.98 kB / 0.5731 GB, free: 8.531 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004548/0.3363, allocations: 77.81 kB / 0.5731 GB, free: 8.461 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00145/0.3377, allocations: 0.8737 MB / 0.574 GB, free: 7.559 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002606/0.338, allocations: 237.8 kB / 0.5742 GB, free: 7.305 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001217/0.3381, allocations: 62.94 kB / 0.5743 GB, free: 7.246 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.456e-05/0.3382, allocations: 31.42 kB / 0.5743 GB, free: 7.219 MB / 414.1 MB Notification: Performance of SimCode: time 4.1e-07/0.3382, allocations: 0 / 0.5743 GB, free: 7.219 MB / 414.1 MB Notification: Performance of Templates: time 0.01019/0.3484, allocations: 4.335 MB / 0.5785 GB, free: 2.926 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.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.034934972994961]