Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.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.001561/0.001561, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.002166/0.002166, allocations: 213.2 kB / 24.48 MB, free: 3.84 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.471/1.471, allocations: 230.6 MB / 258.3 MB, free: 7.801 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.2281/0.2281, allocations: 46.97 MB / 361.6 MB, free: 4.043 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.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69") translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002091/0.002091, allocations: 75.89 kB / 0.4974 GB, free: 7.164 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3074/0.3095, allocations: 66.03 MB / 0.5619 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.003625/0.3131, allocations: 1.79 MB / 0.5636 GB, free: 2.336 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002052/0.3152, allocations: 1.046 MB / 0.5646 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.074e-05/0.3153, allocations: 0 / 0.5646 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005288/0.3158, allocations: 295.3 kB / 0.5649 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005047/0.3163, allocations: 255.2 kB / 0.5652 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002634/0.3165, allocations: 111.6 kB / 0.5653 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003291/0.3169, allocations: 263.3 kB / 0.5655 GB, free: 388 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.858e-05/0.3169, allocations: 9.797 kB / 0.5655 GB, free: 376 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001718/0.3171, allocations: 131.6 kB / 0.5657 GB, free: 244 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002688/0.3174, allocations: 215.8 kB / 0.5659 GB, free: 28 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.738e-05/0.3174, allocations: 8 kB / 0.5659 GB, free: 20 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001256/0.3175, allocations: 47.98 kB / 0.5659 GB, free: 15.97 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001477/0.3177, allocations: 128.5 kB / 0.566 GB, free: 15.85 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001336/0.3178, allocations: 115 kB / 0.5661 GB, free: 15.73 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004453/0.3182, allocations: 384.6 kB / 0.5665 GB, free: 15.36 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.3183, allocations: 0 / 0.5665 GB, free: 15.36 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3183, allocations: 0 / 0.5665 GB, free: 15.36 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.3183, allocations: 0 / 0.5665 GB, free: 15.36 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.0009994/0.3193, allocations: 0.6729 MB / 0.5672 GB, free: 14.66 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.3193, allocations: 8.031 kB / 0.5672 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.818e-05/0.3194, allocations: 60.53 kB / 0.5672 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006211/0.32, allocations: 390.5 kB / 0.5676 GB, free: 14.19 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.32, allocations: 384 / 0.5676 GB, free: 14.19 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.9e-05/0.32, allocations: 12.12 kB / 0.5676 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002038/0.3202, allocations: 87.36 kB / 0.5677 GB, free: 14.08 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.845e-05/0.3203, allocations: 0 / 0.5677 GB, free: 14.08 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.3203, allocations: 0 / 0.5677 GB, free: 14.08 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.3203, allocations: 0 / 0.5677 GB, free: 14.08 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001229/0.3204, allocations: 43.91 kB / 0.5677 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003832/0.3208, allocations: 306.1 kB / 0.568 GB, free: 13.7 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002769/0.3211, allocations: 105.2 kB / 0.5681 GB, free: 13.58 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001023/0.3212, allocations: 37.7 kB / 0.5682 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.775e-05/0.3212, allocations: 4 kB / 0.5682 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002252/0.3214, allocations: 116.9 kB / 0.5683 GB, free: 13.4 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.173e-06/0.3214, allocations: 4 kB / 0.5683 GB, free: 13.4 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005077/0.3219, allocations: 209.2 kB / 0.5685 GB, free: 13.19 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.186e-05/0.322, allocations: 81.05 kB / 0.5686 GB, free: 13.09 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001243/0.3232, allocations: 1.034 MB / 0.5696 GB, free: 12.04 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.136e-05/0.3232, allocations: 25.7 kB / 0.5696 GB, free: 12.01 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000196/0.3234, allocations: 240.1 kB / 0.5698 GB, free: 11.77 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.267e-05/0.3235, allocations: 23.8 kB / 0.5699 GB, free: 11.75 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.34e-05/0.3235, allocations: 29.7 kB / 0.5699 GB, free: 11.71 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001919/0.3237, allocations: 366.8 kB / 0.5702 GB, free: 11.35 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.249e-05/0.3238, allocations: 31.98 kB / 0.5703 GB, free: 11.32 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001099/0.3239, allocations: 67.03 kB / 0.5703 GB, free: 11.24 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002094/0.3241, allocations: 95.34 kB / 0.5704 GB, free: 11.14 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.3241, allocations: 0.5 kB / 0.5704 GB, free: 11.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003357/0.3245, allocations: 181.2 kB / 0.5706 GB, free: 10.95 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.3245, allocations: 10.64 kB / 0.5706 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.3245, allocations: 8.062 kB / 0.5706 GB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.3245, allocations: 0 / 0.5706 GB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001189/0.3246, allocations: 23.94 kB / 0.5706 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.3246, allocations: 3.984 kB / 0.5706 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001009/0.3247, allocations: 15.89 kB / 0.5707 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.05e-05/0.3247, allocations: 4 kB / 0.5707 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.0002348/0.325, allocations: 221.7 kB / 0.5709 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.922e-05/0.3251, allocations: 51.61 kB / 0.5709 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004289/0.3255, allocations: 201.8 kB / 0.5711 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.3255, allocations: 8 kB / 0.5711 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.3255, allocations: 0 / 0.5711 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.3255, allocations: 0 / 0.5711 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002982/0.3258, allocations: 269.2 kB / 0.5714 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.3258, allocations: 3.938 kB / 0.5714 GB, free: 10.1 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.535e-05/0.3258, allocations: 12 kB / 0.5714 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.528e-06/0.3258, allocations: 7.922 kB / 0.5714 GB, free: 10.08 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.837e-05/0.3259, allocations: 7.984 kB / 0.5714 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.3259, allocations: 0 / 0.5714 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.3259, allocations: 3.984 kB / 0.5714 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003672/0.3262, allocations: 217.6 kB / 0.5716 GB, free: 9.836 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001462/0.3264, allocations: 71.78 kB / 0.5717 GB, free: 9.766 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.035e-05/0.3264, allocations: 3.984 kB / 0.5717 GB, free: 9.762 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.324e-05/0.3265, allocations: 15.94 kB / 0.5717 GB, free: 9.746 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.037e-05/0.3266, allocations: 11.92 kB / 0.5717 GB, free: 9.734 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-05/0.3266, allocations: 8 kB / 0.5717 GB, free: 9.727 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008975/0.3275, allocations: 0.776 MB / 0.5725 GB, free: 8.953 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3275, allocations: 0 / 0.5725 GB, free: 8.953 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002897/0.3278, allocations: 40 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.001638/0.3294, allocations: 426.2 kB / 0.5729 GB, free: 8.672 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002895/0.3297, allocations: 87.89 kB / 0.573 GB, free: 8.586 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3297, allocations: 0 / 0.573 GB, free: 8.586 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001186/0.3298, allocations: 44.28 kB / 0.5731 GB, free: 8.543 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004572/0.3303, allocations: 81.2 kB / 0.5731 GB, free: 8.465 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001466/0.3317, allocations: 0.9185 MB / 0.574 GB, free: 7.512 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003166/0.3321, allocations: 241.7 kB / 0.5743 GB, free: 7.254 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.797e-05/0.3321, allocations: 35.38 kB / 0.5743 GB, free: 7.223 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3321, allocations: 0 / 0.5743 GB, free: 7.223 MB / 414.1 MB Notification: Performance of Templates: time 0.009948/0.3421, allocations: 5.23 MB / 0.5794 GB, free: 1.996 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.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.095687431283295]